vmscan: use atomic-long for shrinker batching
[pandora-kernel.git] / include / linux / stddef.h
index b3a2cad..6a40c76 100644 (file)
 #define NULL ((void *)0)
 #endif
 
+#ifdef __KERNEL__
+
+enum {
+       false   = 0,
+       true    = 1
+};
+
 #undef offsetof
 #ifdef __compiler_offsetof
 #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
 #else
 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
 #endif
+#endif /* __KERNEL__ */
 
 #endif