]> Pileus Git - ~andy/linux/blobdiff - include/linux/kernel.h
[PATCH] writeback: fix range handling
[~andy/linux] / include / linux / kernel.h
index f4fc576ed4c40c6d28dd940a869801a138a0a5e6..25fccd859fbf311d1026aa6ff3a1e5c171cd85fd 100644 (file)
@@ -24,6 +24,9 @@ extern const char linux_banner[];
 #define LONG_MAX       ((long)(~0UL>>1))
 #define LONG_MIN       (-LONG_MAX - 1)
 #define ULONG_MAX      (~0UL)
+#define LLONG_MAX      ((long long)(~0ULL>>1))
+#define LLONG_MIN      (-LLONG_MAX - 1)
+#define ULLONG_MAX     (~0ULL)
 
 #define STACK_MAGIC    0xdeadbeef