diff options
author | James Hogan <james.hogan@imgtec.com> | 2014-05-01 15:05:07 +0100 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2014-05-15 00:32:09 +0100 |
commit | ffe6902b66aaa4ca6694bc19639259c16d84ddb1 (patch) | |
tree | ef5f26e06e3e63c52d156d495da579beaa884ade /include/uapi/asm-generic | |
parent | c70458f50cd4271410aa75011f56ffabc0e2d34a (diff) | |
download | linux-ffe6902b66aaa4ca6694bc19639259c16d84ddb1.tar.bz2 |
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/uapi/asm-generic')
-rw-r--r-- | include/uapi/asm-generic/resource.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/uapi/asm-generic/resource.h b/include/uapi/asm-generic/resource.h index f863428796d5..c6d10af50123 100644 --- a/include/uapi/asm-generic/resource.h +++ b/include/uapi/asm-generic/resource.h @@ -57,12 +57,5 @@ # define RLIM_INFINITY (~0UL) #endif -/* - * RLIMIT_STACK default maximum - some architectures override it: - */ -#ifndef _STK_LIM_MAX -# define _STK_LIM_MAX RLIM_INFINITY -#endif - #endif /* _UAPI_ASM_GENERIC_RESOURCE_H */ |