History

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.

James Hogan committed 12 years ago

Commit ffe69021 parent c70458f2 files · +1 −8Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/asm-generic/resource.h+0−7
@@ -57,12 +57,5 @@ · 56 unmodified lines
57# define RLIM_INFINITY (~0UL)57# define RLIM_INFINITY (~0UL)
58#endif58#endif
59 59
60/*
61 * RLIMIT_STACK default maximum - some architectures override it:
62 */
63#ifndef _STK_LIM_MAX
64# define _STK_LIM_MAX RLIM_INFINITY
65#endif
66
67 60
68#endif /* _UAPI_ASM_GENERIC_RESOURCE_H */61#endif /* _UAPI_ASM_GENERIC_RESOURCE_H */