summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-11-06 22:05:12 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-11-06 22:05:12 +0000
commitc8f5327cdff270efc6dbbf50e5e3051a1ecec46f (patch)
tree8650e095698bac179858c783f9be48247c535524 /include/asm-mips
parent19b79797b8f66344f77b8b4098acf7ea548da662 (diff)
Define RLIM_INFINITY only when building a kernel.
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips/resource.h b/include/asm-mips/resource.h
index 718e983e6..127729ca2 100644
--- a/include/asm-mips/resource.h
+++ b/include/asm-mips/resource.h
@@ -26,14 +26,14 @@
#define RLIM_NLIMITS 11 /* Number of limit flavors. */
+#ifdef __KERNEL__
+
/*
* SuS says limits have to be unsigned.
* Which makes a ton more sense anyway.
*/
#define RLIM_INFINITY 0x7fffffffUL
-#ifdef __KERNEL__
-
#define INIT_RLIMITS \
{ \
{ RLIM_INFINITY, RLIM_INFINITY }, \