summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips64/resource.h')
-rw-r--r--include/asm-mips64/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips64/resource.h b/include/asm-mips64/resource.h
index 448a8bb3a..cb3699259 100644
--- a/include/asm-mips64/resource.h
+++ b/include/asm-mips64/resource.h
@@ -27,14 +27,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 (~0UL)
-#ifdef __KERNEL__
-
#define INIT_RLIMITS \
{ \
{ RLIM_INFINITY, RLIM_INFINITY }, \