Changeset 933 for lm-sensors/trunk/kernel/chips/via686a.c
- Timestamp:
- 11/23/00 00:54:39 (13 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/via686a.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/via686a.c
r914 r933 45 45 #endif 46 46 47 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,1)) 47 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)) || \ 48 (LINUX_VERSION_CODE == KERNEL_VERSION(2,3,0)) 48 49 #define init_MUTEX(s) do { *(s) = MUTEX; } while(0) 49 50 #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/
