diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-11-06 22:05:12 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-11-06 22:05:12 +0000 |
commit | c8f5327cdff270efc6dbbf50e5e3051a1ecec46f (patch) | |
tree | 8650e095698bac179858c783f9be48247c535524 /include/asm-mips64 | |
parent | 19b79797b8f66344f77b8b4098acf7ea548da662 (diff) |
Define RLIM_INFINITY only when building a kernel.
Diffstat (limited to 'include/asm-mips64')
-rw-r--r-- | include/asm-mips64/resource.h | 4 |
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 }, \ |