aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2011-04-27 16:01:27 -0400
committerOleg Nesterov <oleg@redhat.com>2011-04-28 07:01:39 -0400
commit702a5073fdb71eb29cd4912575289fb5044c1894 (patch)
treed650a10178427b59df2068b4d211f12f8993230f /include
parentb182801ab35f7a0afb3cdf8ba5df464d04206b46 (diff)
signal: rename signandsets() to sigandnsets()
As Tejun and Linus pointed out, "nand" is the wrong name for "x & ~y", it should be "andn". Rename signandsets() as suggested. Suggested-by: Tejun Heo <tj@kernel.org> Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 782546d661ba..7e2526374fd7 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -123,13 +123,13 @@ _SIG_SET_BINOP(sigorsets, _sig_or)
123#define _sig_and(x,y) ((x) & (y)) 123#define _sig_and(x,y) ((x) & (y))
124_SIG_SET_BINOP(sigandsets, _sig_and) 124_SIG_SET_BINOP(sigandsets, _sig_and)
125 125
126#define _sig_nand(x,y) ((x) & ~(y)) 126#define _sig_andn(x,y) ((x) & ~(y))
127_SIG_SET_BINOP(signandsets, _sig_nand) 127_SIG_SET_BINOP(sigandnsets, _sig_andn)
128 128
129#undef _SIG_SET_BINOP 129#undef _SIG_SET_BINOP
130#undef _sig_or 130#undef _sig_or
131#undef _sig_and 131#undef _sig_and
132#undef _sig_nand 132#undef _sig_andn
133 133
134#define _SIG_SET_OP(name, op) \ 134#define _SIG_SET_OP(name, op) \
135static inline void name(sigset_t *set) \ 135static inline void name(sigset_t *set) \