From: Matt Fleming Date: Tue, 10 Jan 2012 23:11:17 +0000 (-0800) Subject: signal: add block_sigmask() for adding sigmask to current->blocked X-Git-Tag: v3.3-rc1~113^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e6292c0f28f03dfdb8ea3d685f0b838a23bfba4;p=pandora-kernel.git signal: add block_sigmask() for adding sigmask to current->blocked Abstract the code sequence for adding a signal handler's sa_mask to current->blocked because the sequence is identical for all architectures. Furthermore, in the past some architectures actually got this code wrong, so introduce a wrapper that all architectures can use. Signed-off-by: Matt Fleming Signed-off-by: Oleg Nesterov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Tejun Heo Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed