diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 21:15:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-22 21:15:32 -0400 |
commit | db1417967959569599da2a4bd0ffb93b17ad795f (patch) | |
tree | 08751414d5f4a9e264af924154ed3543a8e573a9 /arch/s390/kernel/signal.c | |
parent | 48aab2f79dfc1357c48ce22ff5c989b52a590069 (diff) | |
parent | c6da39f26cfe475704ec521723192e520e8f51b8 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
Pull s390 patches from Martin Schwidefsky:
"The biggest patch is the rework of the smp code, something I wanted to
do for some time. There are some patches for our various dump methods
and one new thing: z/VM LGR detection. LGR stands for linux-guest-
relocation and is the guest migration feature of z/VM. For debugging
purposes we keep a log of the systems where a specific guest has lived."
Fix up trivial conflict in arch/s390/kernel/smp.c due to the scheduler
cleanup having removed some code next to removed s390 code.
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
[S390] kernel: Pass correct stack for smp_call_ipl_cpu()
[S390] Ensure that vmcore_info pointer is never accessed directly
[S390] dasd: prevent validate server for offline devices
[S390] Remove monolithic build option for zcrypt driver.
[S390] stack dump: fix indentation in output
[S390] kernel: Add OS info memory interface
[S390] Use block_sigmask()
[S390] kernel: Add z/VM LGR detection
[S390] irq: external interrupt code passing
[S390] irq: set __ARCH_IRQ_EXIT_IRQS_DISABLED
[S390] zfcpdump: Implement async sdias event processing
[S390] Use copy_to_absolute_zero() instead of "stura/sturg"
[S390] rework idle code
[S390] rework smp code
[S390] rename lowcore field
[S390] Fix gcc 4.6.0 compile warning
Diffstat (limited to 'arch/s390/kernel/signal.c')
-rw-r--r-- | arch/s390/kernel/signal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/s390/kernel/signal.c b/arch/s390/kernel/signal.c index 2d421d90fada..f29f5ef400e5 100644 --- a/arch/s390/kernel/signal.c +++ b/arch/s390/kernel/signal.c | |||
@@ -384,7 +384,6 @@ static int handle_signal(unsigned long sig, struct k_sigaction *ka, | |||
384 | siginfo_t *info, sigset_t *oldset, | 384 | siginfo_t *info, sigset_t *oldset, |
385 | struct pt_regs *regs) | 385 | struct pt_regs *regs) |
386 | { | 386 | { |
387 | sigset_t blocked; | ||
388 | int ret; | 387 | int ret; |
389 | 388 | ||
390 | /* Set up the stack frame */ | 389 | /* Set up the stack frame */ |
@@ -394,10 +393,7 @@ static int handle_signal(unsigned long sig, struct k_sigaction *ka, | |||
394 | ret = setup_frame(sig, ka, oldset, regs); | 393 | ret = setup_frame(sig, ka, oldset, regs); |
395 | if (ret) | 394 | if (ret) |
396 | return ret; | 395 | return ret; |
397 | sigorsets(&blocked, ¤t->blocked, &ka->sa.sa_mask); | 396 | block_sigmask(ka, sig); |
398 | if (!(ka->sa.sa_flags & SA_NODEFER)) | ||
399 | sigaddset(&blocked, sig); | ||
400 | set_current_blocked(&blocked); | ||
401 | return 0; | 397 | return 0; |
402 | } | 398 | } |
403 | 399 | ||