Where is rwlock_t defined?

Oct 16, 2003 2 Replies

As referenced by Linux Device Drivers OReilly book



I have RedHat 9 and am struggling to find the definition of this type.



TIA Martin


grep -r "rwlock_t" *

from /usr/src/linux.../include soon discovers it in asm-* spinlock.h where ... is replaced by your kernel version number and * is replaced by your architecture. Took longer to type this ...

Trevor Barton Isotek Electronics Ltd, 9 Clayton Wood Bank, Leeds, LS16 6QZ, UK. Tel: +44 (113) 275 1339, Fax +44 (113) 224 9827 Remove X from tmb@Xisotek.co.uk before replying. Views expressed are my own and not necessarily those of Isotek Electronics Ltd.

Thanks - I had been greping in /usr/include/*

Mart> > As referenced by Linux Device Drivers OReilly book

Ltd.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required