diff options
author | Helge Deller <deller@gmx.de> | 2021-09-07 05:03:29 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-09-09 12:44:31 +0200 |
commit | e4f2006f1287e7ea17660490569cff323772dac4 (patch) | |
tree | cf94f68fbc02ba42c6d5a6a1b325a8bb8b67d534 /arch/parisc/kernel/signal32.h | |
parent | parisc: Check user signal stack trampoline is inside TASK_SIZE (diff) | |
download | linux-e4f2006f1287e7ea17660490569cff323772dac4.tar.xz linux-e4f2006f1287e7ea17660490569cff323772dac4.zip |
parisc: Reduce sigreturn trampoline to 3 instructions
We can move the INSN_LDI_R20 instruction into the branch delay slot.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/signal32.h')
-rw-r--r-- | arch/parisc/kernel/signal32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/signal32.h b/arch/parisc/kernel/signal32.h index f166250f2d06..a5bdbb5678b7 100644 --- a/arch/parisc/kernel/signal32.h +++ b/arch/parisc/kernel/signal32.h @@ -36,7 +36,7 @@ struct compat_regfile { compat_int_t rf_sar; }; -#define COMPAT_SIGRETURN_TRAMP 4 +#define COMPAT_SIGRETURN_TRAMP 3 #define COMPAT_SIGRESTARTBLOCK_TRAMP 5 #define COMPAT_TRAMP_SIZE (COMPAT_SIGRETURN_TRAMP + \ COMPAT_SIGRESTARTBLOCK_TRAMP) |