patch-2.3.99-pre2 linux/include/linux/kernel.h

Next file: linux/include/linux/module.h
Previous file: linux/include/linux/icmp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/include/linux/kernel.h linux/include/linux/kernel.h
@@ -15,8 +15,10 @@
 #define barrier() __asm__ __volatile__("": : :"memory")
 
 #define INT_MAX		((int)(~0U>>1))
+#define INT_MIN		(-INT_MAX - 1)
 #define UINT_MAX	(~0U)
 #define LONG_MAX	((long)(~0UL>>1))
+#define LONG_MIN	(-LONG_MAX - 1)
 #define ULONG_MAX	(~0UL)
 
 #define STACK_MAGIC	0xdeadbeef

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)