linux/arch/nds32
Yury Norov 80d7da1cac asm-generic: Drop getrlimit and setrlimit syscalls from default list
The newer prlimit64 syscall provides all the functionality of getrlimit
and setrlimit syscalls and adds the pid of target process, so future
architectures won't need to include getrlimit and setrlimit.

Therefore drop getrlimit and setrlimit syscalls from the generic syscall
list unless __ARCH_WANT_SET_GET_RLIMIT is defined by the architecture's
unistd.h prior to including asm-generic/unistd.h, and adjust all
architectures using the generic syscall list to define it so that no
in-tree architectures are affected.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arch@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-hexagon@vger.kernel.org
Cc: uclinux-h8-devel@lists.sourceforge.jp
Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mark Salter <msalter@redhat.com> [c6x]
Acked-by: James Hogan <james.hogan@imgtec.com> [metag]
Acked-by: Ley Foon Tan <lftan@altera.com> [nios2]
Acked-by: Stafford Horne <shorne@gmail.com> [openrisc]
Acked-by: Will Deacon <will.deacon@arm.com> [arm64]
Acked-by: Vineet Gupta <vgupta@synopsys.com> #arch/arc bits
Signed-off-by: Yury Norov <ynorov@marvell.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2019-02-19 10:10:06 +01:00
..
boot nds32: Perf porting 2018-11-06 18:01:40 +08:00
configs nds32: defconfig 2018-02-22 10:44:35 +08:00
include asm-generic: Drop getrlimit and setrlimit syscalls from default list 2019-02-19 10:10:06 +01:00
kernel Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
lib nds32: Fix the symbols undefined issue by exporting them. 2018-05-23 13:26:20 +08:00
math-emu nds32: support denormalized result through FP emulator 2018-11-22 18:13:27 +08:00
mm Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
Kconfig 32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option 2019-02-19 10:10:05 +01:00
Kconfig.cpu nds32: support hardware prefetcher 2018-11-22 18:13:51 +08:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile nds32: Support FP emulation 2018-11-22 18:13:21 +08:00