X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-sparc64%2Fresource.h;h=29d0e13c0eb76383a86b0dfaf9619eb6e3cc2db7;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=f33d38bccab2e66e736b0fde07810042ef4eb790;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-sparc64/resource.h b/include/asm-sparc64/resource.h index f33d38bcc..29d0e13c0 100644 --- a/include/asm-sparc64/resource.h +++ b/include/asm-sparc64/resource.h @@ -26,30 +26,8 @@ #define RLIMIT_MSGQUEUE 12 /* maximum bytes in POSIX mqueues */ #define RLIM_NLIMITS 13 +#define __ARCH_RLIMIT_ORDER -/* - * 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}, \ - {RLIM_INFINITY, RLIM_INFINITY}, \ - {RLIM_INFINITY, RLIM_INFINITY}, \ - {_STK_LIM, RLIM_INFINITY}, \ - { 0, RLIM_INFINITY}, \ - {RLIM_INFINITY, RLIM_INFINITY}, \ - {INR_OPEN, INR_OPEN}, {0, 0}, \ - { MLOCK_LIMIT, MLOCK_LIMIT}, \ - {RLIM_INFINITY, RLIM_INFINITY}, \ - {RLIM_INFINITY, RLIM_INFINITY}, \ - {MAX_SIGPENDING, MAX_SIGPENDING}, \ - {MQ_BYTES_MAX, MQ_BYTES_MAX}, \ -} - -#endif /* __KERNEL__ */ +#include #endif /* !(_SPARC64_RESOURCE_H) */