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.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/asm-sh/resource.h b/include/asm-sh/resource.h
index 5f536d5f8..857c37166 100644
--- a/include/asm-sh/resource.h
+++ b/include/asm-sh/resource.h
@@ -22,16 +22,16 @@
#define INIT_RLIMITS \
{ \
- { LONG_MAX, LONG_MAX }, \
- { LONG_MAX, LONG_MAX }, \
- { LONG_MAX, LONG_MAX }, \
- { _STK_LIM, LONG_MAX }, \
- { 0, LONG_MAX }, \
- { LONG_MAX, LONG_MAX }, \
- { 0, 0 }, \
- { INR_OPEN, INR_OPEN }, \
- { LONG_MAX, LONG_MAX }, \
- { LONG_MAX, LONG_MAX }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { _STK_LIM, RLIM_INFINITY }, \
+ { 0, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { 0, 0 }, \
+ { INR_OPEN, INR_OPEN }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
+ { RLIM_INFINITY, RLIM_INFINITY }, \
}
#endif /* __KERNEL__ */