summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/resource.h')
-rw-r--r--include/asm-sh/resource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-sh/resource.h b/include/asm-sh/resource.h
index ef89ec7e6..084ad61ec 100644
--- a/include/asm-sh/resource.h
+++ b/include/asm-sh/resource.h
@@ -18,14 +18,14 @@
#define RLIM_NLIMITS 10
+#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 }, \