diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-09-29 23:28:59 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-01-07 14:01:33 +0100 |
commit | e68847fee706c6fe74c9afc3288c3adfc131b1fa (patch) | |
tree | 5012dca75c9977a55274484512846cb924afe195 /arch/m68k/kernel/entry.S | |
parent | 35fc157baf56db846afaeb5c730fa47e351cf0d2 (diff) | |
download | op-kernel-dev-e68847fee706c6fe74c9afc3288c3adfc131b1fa.zip op-kernel-dev-e68847fee706c6fe74c9afc3288c3adfc131b1fa.tar.gz |
m68k: Switch to saner sigsuspend()
and saner do_signal() arguments, while we are at it
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/entry.S')
-rw-r--r-- | arch/m68k/kernel/entry.S | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/m68k/kernel/entry.S b/arch/m68k/kernel/entry.S index 6360c43..3a15a03 100644 --- a/arch/m68k/kernel/entry.S +++ b/arch/m68k/kernel/entry.S @@ -174,9 +174,8 @@ do_signal_return: subql #4,%sp | dummy return address SAVE_SWITCH_STACK pea %sp@(SWITCH_STACK_SIZE) - clrl %sp@- bsrl do_signal - addql #8,%sp + addql #4,%sp RESTORE_SWITCH_STACK addql #4,%sp tstl %d0 @@ -290,22 +289,6 @@ ENTRY(sys_vfork) RESTORE_SWITCH_STACK rts -ENTRY(sys_sigsuspend) - SAVE_SWITCH_STACK - pea %sp@(SWITCH_STACK_SIZE) - jbsr do_sigsuspend - addql #4,%sp - RESTORE_SWITCH_STACK - rts - -ENTRY(sys_rt_sigsuspend) - SAVE_SWITCH_STACK - pea %sp@(SWITCH_STACK_SIZE) - jbsr do_rt_sigsuspend - addql #4,%sp - RESTORE_SWITCH_STACK - rts - ENTRY(sys_sigreturn) SAVE_SWITCH_STACK jbsr do_sigreturn |