[PATCH 05/24] asm-generic: Drop getrlimit and setrlimit syscalls from default list

2018-05-16 Thread Yury Norov
The newer prlimit64 syscall provides all the functionality provided by 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 __

[PATCH] ARC: Explicitly add -mmedium-calls to CFLAGS

2018-05-16 Thread Alexey Brodkin
GCC built for arc*-*-linux has "-mmedium-calls" implicitly enabled by default thus we don't see any problems during Linux kernel compilation. ->8 arc-linux-gcc -mcpu=arc700 -Q --help=target | grep calls -mlong-calls [dis