]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
m32r: restore _BLOCKABLE
authorKyle McMartin <kyle@mcmartin.ca>
Sat, 16 Oct 2010 01:16:45 +0000 (21:16 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 16 Oct 2010 02:37:50 +0000 (19:37 -0700)
Commit a7f8388e accidentally removed it... Al explains:

  "Sorry, reordering breakage.  In the signals tree here I have

   static inline void sig_set_blocked(struct sigset_t *set)
   ...

   and it's used all over the place (including quite a few places where
   we currently have sigprocmask(SIG_SETMASK, set, NULL), which is what
   it's equivalent to).  With that done, m32r doesn't use _BLOCKABLE
   anywhere, so it got removed.  And that chunk got picked when I'd been
   reordering the queue to pull the arch-specific fixes in front.
   Sorry."

Signed-off-by: Kyle McMartin <kyle@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/kernel/signal.c

index 7bbe38645ed5559395f85c5b5fce93eb3f4992e3..cc36fe1492555c2e439ba00c0717acb5f72b536a 100644 (file)
@@ -28,6 +28,8 @@
 
 #define DEBUG_SIG 0
 
+#define _BLOCKABLE (~(sigmask(SIGKILL) | sigmask(SIGSTOP)))
+
 asmlinkage int
 sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
                unsigned long r2, unsigned long r3, unsigned long r4,