Changeset 933 for lm-sensors/trunk/kernel/chips/lm87.c
- Timestamp:
- 11/23/00 00:54:39 (12 years ago)
- Author:
- frodo
- Message:
-
Updated the MUTEX definitions again - they are now guarded by
the horrible
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18))
\
(LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0))
They should now both work with 2.3 kernels (including 2.4 prepatches)
and very new 2.2 kernels (ie. 2.2.18 prepatches)
- Files:
- 1 modified
-
lm-sensors/trunk/kernel/chips/lm87.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/lm87.c
r921 r933 38 38 #include <linux/init.h> 39 39 40 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1)) 40 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \ 41 (LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0)) 41 42 #define init_MUTEX(s) do { *(s) = MUTEX; } while(0) 42 43 #endif
Download in other formats:
Powered by Trac 0.11.7
By Edgewall Software.Visit the Trac open source project at
http://trac.edgewall.com/
