summaryrefslogtreecommitdiff
path: root/include/asm-generic/resource.h
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2014-05-01 15:05:07 +0100
committerJames Hogan <james.hogan@imgtec.com>2014-05-15 00:32:09 +0100
commitffe6902b66aaa4ca6694bc19639259c16d84ddb1 (patch)
treeef5f26e06e3e63c52d156d495da579beaa884ade /include/asm-generic/resource.h
parentc70458f50cd4271410aa75011f56ffabc0e2d34a (diff)
asm-generic: remove _STK_LIM_MAX
_STK_LIM_MAX could be used to override the RLIMIT_STACK hard limit from an arch's include/uapi/asm-generic/resource.h file, but is no longer used since both parisc and metag removed the override. Therefore remove it entirely, setting the hard RLIMIT_STACK limit to RLIM_INFINITY directly in include/asm-generic/resource.h. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: linux-arch@vger.kernel.org Cc: Helge Deller <deller@gmx.de> Cc: John David Anglin <dave.anglin@bell.net>
Diffstat (limited to 'include/asm-generic/resource.h')
-rw-r--r--include/asm-generic/resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/resource.h b/include/asm-generic/resource.h
index b4ea8f50fc65..5e752b959054 100644
--- a/include/asm-generic/resource.h
+++ b/include/asm-generic/resource.h
@@ -12,7 +12,7 @@
[RLIMIT_CPU] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIMIT_FSIZE] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIMIT_DATA] = { RLIM_INFINITY, RLIM_INFINITY }, \
- [RLIMIT_STACK] = { _STK_LIM, _STK_LIM_MAX }, \
+ [RLIMIT_STACK] = { _STK_LIM, RLIM_INFINITY }, \
[RLIMIT_CORE] = { 0, RLIM_INFINITY }, \
[RLIMIT_RSS] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIMIT_NPROC] = { 0, 0 }, \