lkml.org 
[lkml]   [2011]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 26/43] [S390]: Use block_sigmask()
On Fri, 19 Aug 2011 17:46:42 +0100
Matt Fleming <matt@console-pimps.org> wrote:

> From: Matt Fleming <matt.fleming@intel.com>
>
> Use the new helper function block_sigmask() which centralises the code
> for updating current->blocked after successfully delivering a signal
> and reduces the amount of duplicate code across architectures.
>
> In the past some architectures got this code wrong, so using this
> helper function should stop that from happening again.
>
> Cc: Oleg Nesterov <oleg@redhat.com>
> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
> ---
>
> This patch depends on "[PATCH 01/43] signal: Add block_sigmask() for
> adding sigmask to current->blocked" so they need to go through the
> same tree but this patch would benefit from some maintainer ACK's.
>
> arch/s390/kernel/compat_signal.c | 6 +-----
> arch/s390/kernel/signal.c | 6 +-----
> 2 files changed, 2 insertions(+), 10 deletions(-)

Identical code replacement and compiles fine.
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

--
blue skies,
Martin.

"Reality continues to ruin my life." - Calvin.



\
 
 \ /
  Last update: 2011-08-23 08:07    [W:0.152 / U:6.660 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site