diff options
| author | Rusty Russell <rusty@rustcorp.com.au> | 2002-12-05 05:57:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-12-05 05:57:08 -0800 |
| commit | a4ff8dbbda413c8cdcb54a1e99be698559b308b9 (patch) | |
| tree | ec886e6fdb8a675de21a4c9ccca2dc2395e7c751 /include/linux/signal.h | |
| parent | a42bb8b433cebce4a9bacc0aace917e809b69488 (diff) | |
[PATCH] sigmask() was mutilply defined
From: Stephen Rothwell <sfr@canb.auug.org.au>
Every definition if sigmask() was the same. In one case it was
mutilply defined for the arm architecture. This patch removes all the
architecture defines of sigmask and moves the generic define from
the protection of __HAVE_ARCH_SIG_BITOPS.
Diffstat (limited to 'include/linux/signal.h')
| -rw-r--r-- | include/linux/signal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h index 4209f934d03f..c00516609f3f 100644 --- a/include/linux/signal.h +++ b/include/linux/signal.h @@ -60,10 +60,10 @@ static inline int sigfindinword(unsigned long word) return ffz(~word); } -#define sigmask(sig) (1UL << ((sig) - 1)) - #endif /* __HAVE_ARCH_SIG_BITOPS */ +#define sigmask(sig) (1UL << ((sig) - 1)) + #ifndef __HAVE_ARCH_SIG_SETOPS #include <linux/string.h> |
