aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/platform
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-05-23 21:11:45 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-05-23 21:11:45 -0400
commitf9369910a6225b8d4892c3f20ae740a711cd5ace (patch)
tree8650ff79d7607bceb35509c028400ecf1c317de0 /arch/m68k/platform
parent05f144a0d5c2207a0349348127f996e104ad7404 (diff)
parent415d04d08fec74b226c92c1fb54ad117c9c6bac4 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal
Pull first series of signal handling cleanups from Al Viro: "This is just the first part of the queue (about a half of it); assorted fixes all over the place in signal handling. This one ends with all sigsuspend() implementations switched to generic one (->saved_sigmask-based). With this, a bunch of assorted old buglets are fixed and most of the missing bits of NOTIFY_RESUME hookup are in place. Two more fixes sit in arm and um trees respectively, and there's a couple of broken ones that need obvious fixes - parisc and avr32 check TIF_NOTIFY_RESUME only on one of two codepaths; fixes for that will happen in the next series" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal: (55 commits) unicore32: if there's no handler we need to restore sigmask, syscall or no syscall xtensa: add handling of TIF_NOTIFY_RESUME microblaze: drop 'oldset' argument of do_notify_resume() microblaze: handle TIF_NOTIFY_RESUME score: add handling of NOTIFY_RESUME to do_notify_resume() m68k: add TIF_NOTIFY_RESUME and handle it. sparc: kill ancient comment in sparc_sigaction() h8300: missing checks of __get_user()/__put_user() return values frv: missing checks of __get_user()/__put_user() return values cris: missing checks of __get_user()/__put_user() return values powerpc: missing checks of __get_user()/__put_user() return values sh: missing checks of __get_user()/__put_user() return values sparc: missing checks of __get_user()/__put_user() return values avr32: struct old_sigaction is never used m32r: struct old_sigaction is never used xtensa: xtensa_sigaction doesn't exist alpha: tidy signal delivery up score: don't open-code force_sigsegv() cris: don't open-code force_sigsegv() blackfin: don't open-code force_sigsegv() ...
Diffstat (limited to 'arch/m68k/platform')
-rw-r--r--arch/m68k/platform/68328/entry.S2
-rw-r--r--arch/m68k/platform/68360/entry.S2
-rw-r--r--arch/m68k/platform/coldfire/entry.S2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/platform/68328/entry.S b/arch/m68k/platform/68328/entry.S
index 5c39b80ed7de..7f91c2fde509 100644
--- a/arch/m68k/platform/68328/entry.S
+++ b/arch/m68k/platform/68328/entry.S
@@ -119,7 +119,7 @@ Lsignal_return:
119 subql #4,%sp /* dummy return address*/ 119 subql #4,%sp /* dummy return address*/
120 SAVE_SWITCH_STACK 120 SAVE_SWITCH_STACK
121 pea %sp@(SWITCH_STACK_SIZE) 121 pea %sp@(SWITCH_STACK_SIZE)
122 bsrw do_signal 122 bsrw do_notify_resume
123 addql #4,%sp 123 addql #4,%sp
124 RESTORE_SWITCH_STACK 124 RESTORE_SWITCH_STACK
125 addql #4,%sp 125 addql #4,%sp
diff --git a/arch/m68k/platform/68360/entry.S b/arch/m68k/platform/68360/entry.S
index aa47d1d49929..904fd9a4af4e 100644
--- a/arch/m68k/platform/68360/entry.S
+++ b/arch/m68k/platform/68360/entry.S
@@ -115,7 +115,7 @@ Lsignal_return:
115 subql #4,%sp /* dummy return address*/ 115 subql #4,%sp /* dummy return address*/
116 SAVE_SWITCH_STACK 116 SAVE_SWITCH_STACK
117 pea %sp@(SWITCH_STACK_SIZE) 117 pea %sp@(SWITCH_STACK_SIZE)
118 bsrw do_signal 118 bsrw do_notify_resume
119 addql #4,%sp 119 addql #4,%sp
120 RESTORE_SWITCH_STACK 120 RESTORE_SWITCH_STACK
121 addql #4,%sp 121 addql #4,%sp
diff --git a/arch/m68k/platform/coldfire/entry.S b/arch/m68k/platform/coldfire/entry.S
index 281e38c2b6c7..881ab8e379d4 100644
--- a/arch/m68k/platform/coldfire/entry.S
+++ b/arch/m68k/platform/coldfire/entry.S
@@ -152,7 +152,7 @@ Lsignal_return:
152 subql #4,%sp /* dummy return address */ 152 subql #4,%sp /* dummy return address */
153 SAVE_SWITCH_STACK 153 SAVE_SWITCH_STACK
154 pea %sp@(SWITCH_STACK_SIZE) 154 pea %sp@(SWITCH_STACK_SIZE)
155 jsr do_signal 155 jsr do_notify_resume
156 addql #4,%sp 156 addql #4,%sp
157 RESTORE_SWITCH_STACK 157 RESTORE_SWITCH_STACK
158 addql #4,%sp 158 addql #4,%sp