Changeset 1691
- Timestamp:
- 07/22/06 01:10:36 (2 years ago)
- Files:
-
- trunk/include/compat.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/compat.h
r1689 r1691 44 44 #define NBBY 8 /* number of bits/byte */ 45 45 46 #include <linux/version.h> 47 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)46 /* roundup() appears in Linux 2.6.18 */ 47 #ifndef roundup 48 48 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ 49 49 #endif
