patch-2.3.35 linux/include/asm-sparc64/resource.h

Next file: linux/include/asm-sparc64/sbus.h
Previous file: linux/include/asm-sparc64/processor.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.34/linux/include/asm-sparc64/resource.h linux/include/asm-sparc64/resource.h
@@ -1,4 +1,4 @@
-/* $Id: resource.h,v 1.5 1999/07/30 09:31:21 davem Exp $
+/* $Id: resource.h,v 1.7 1999/12/15 17:52:08 jj Exp $
  * resource.h: Resource definitions.
  *
  * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -31,13 +31,17 @@
 #define RLIM_INFINITY	(~0UL)
 
 #ifdef __KERNEL__
-#define INIT_RLIMITS				\
-{						\
-    {LONG_MAX, LONG_MAX}, {LONG_MAX, LONG_MAX},	\
-    {LONG_MAX, LONG_MAX}, {_STK_LIM, LONG_MAX},	\
-    {       0, LONG_MAX}, {LONG_MAX, LONG_MAX},	\
-    {INR_OPEN, INR_OPEN}, {0, 0},			\
-    {LONG_MAX, LONG_MAX}, {LONG_MAX, LONG_MAX}	\
+#define INIT_RLIMITS			\
+{					\
+    {RLIM_INFINITY, RLIM_INFINITY},	\
+    {RLIM_INFINITY, RLIM_INFINITY},	\
+    {RLIM_INFINITY, RLIM_INFINITY},	\
+    {_STK_LIM, RLIM_INFINITY},		\
+    {       0, RLIM_INFINITY},		\
+    {RLIM_INFINITY, RLIM_INFINITY},	\
+    {INR_OPEN, INR_OPEN}, {0, 0},	\
+    {RLIM_INFINITY, RLIM_INFINITY},	\
+    {RLIM_INFINITY, RLIM_INFINITY}	\
 }
 
 #endif /* __KERNEL__ */

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