diff options
-rw-r--r-- | include/asm-mips/resource.h | 4 | ||||
-rw-r--r-- | include/asm-mips64/resource.h | 4 |
2 files changed, 4 insertions, 4 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 }, \ 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 }, \ |