Changeset 1689
- Timestamp:
- 07/21/06 10:56:01 (2 years ago)
- Files:
-
- trunk/include/compat.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/compat.h
r1529 r1689 44 44 #define NBBY 8 /* number of bits/byte */ 45 45 46 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ 46 #include <linux/version.h> 47 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) 48 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ 49 #endif 50 47 51 #define howmany(x, y) (((x)+((y)-1))/(y)) 48 52
