From c8f5327cdff270efc6dbbf50e5e3051a1ecec46f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 6 Nov 2000 22:05:12 +0000 Subject: Define RLIM_INFINITY only when building a kernel. --- include/asm-mips/resource.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asm-mips') 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 }, \ -- cgit v1.2.3