mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
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>
This commit is contained in:
parent
b182801ab3
commit
702a5073fd
2 changed files with 6 additions and 6 deletions
|
@ -123,13 +123,13 @@ _SIG_SET_BINOP(sigorsets, _sig_or)
|
|||
#define _sig_and(x,y) ((x) & (y))
|
||||
_SIG_SET_BINOP(sigandsets, _sig_and)
|
||||
|
||||
#define _sig_nand(x,y) ((x) & ~(y))
|
||||
_SIG_SET_BINOP(signandsets, _sig_nand)
|
||||
#define _sig_andn(x,y) ((x) & ~(y))
|
||||
_SIG_SET_BINOP(sigandnsets, _sig_andn)
|
||||
|
||||
#undef _SIG_SET_BINOP
|
||||
#undef _sig_or
|
||||
#undef _sig_and
|
||||
#undef _sig_nand
|
||||
#undef _sig_andn
|
||||
|
||||
#define _SIG_SET_OP(name, op) \
|
||||
static inline void name(sigset_t *set) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue