linux/arch/parisc
Helge Deller 4b9d2a731c parisc: Switch user access functions to signal errors in r29 instead of r8
Use register r29 instead of register r8 to signal faults when accessing
user memory. In case of faults, the fixup routine will store -EFAULT in
this register.

This change saves up to 752 bytes on a 32bit kernel, partly because the
compiler doesn't need to save and restore the old r8 value on the stack.

bloat-o-meter results for usage with r29 register:
add/remove: 0/0 grow/shrink: 23/86 up/down: 228/-980 (-752)

bloat-o-meter results for usage with r28 register:
add/remove: 0/0 grow/shrink: 28/83 up/down: 296/-956 (-660)

Signed-off-by: Helge Deller <deller@gmx.de>
2022-01-07 01:29:21 +01:00
..
boot parisc: decompressor: do not copy source files while building 2022-01-05 01:22:13 +01:00
configs parisc: Enable sata sil, audit and usb support on 64-bit defconfig 2021-11-30 21:49:32 +01:00
include parisc: Switch user access functions to signal errors in r29 instead of r8 2022-01-07 01:29:21 +01:00
kernel parisc: Avoid calling faulthandler_disabled() twice 2022-01-07 01:29:21 +01:00
lib parisc: mark xchg functions notrace 2021-11-01 07:36:00 +01:00
math-emu parisc: math-emu: Fix fall-through warnings 2021-09-01 22:18:18 +02:00
mm parisc: Switch user access functions to signal errors in r29 instead of r8 2022-01-07 01:29:21 +01:00
defpalo.conf
install.sh parisc: Fix "make install" on newer debian releases 2021-12-04 21:36:04 +01:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig parisc: remove ARCH_DEFCONFIG 2021-12-22 09:02:10 +01:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile parisc: Fix KBUILD_IMAGE for self-extracting kernel 2021-11-30 21:49:32 +01:00
nm