From: Linus Torvalds Date: Thu, 17 Nov 2005 18:04:31 +0000 (-0800) Subject: x86: Fix silly typo in recent fixes X-Git-Tag: v2.6.15-rc2~66 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd02e27b1514a27b2a8ab59755ae6d23d4d8a10f;p=linux-2.6 x86: Fix silly typo in recent fixes The second __const_sigaddset() should have been a sigdelset.. Compile trouble noted by Greg K-H. Signed-off-by: Linus Torvalds --- diff --git a/include/asm-i386/signal.h b/include/asm-i386/signal.h index 6ba29f145b..76524b4052 100644 --- a/include/asm-i386/signal.h +++ b/include/asm-i386/signal.h @@ -186,7 +186,7 @@ static __inline__ void __gen_sigdelset(sigset_t *set, int _sig) __asm__("btrl %1,%0" : "+m"(*set) : "Ir"(_sig - 1) : "cc"); } -static __inline__ void __const_sigaddset(sigset_t *set, int _sig) +static __inline__ void __const_sigdelset(sigset_t *set, int _sig) { unsigned long sig = _sig - 1; set->sig[sig / _NSIG_BPW] &= ~(1 << (sig % _NSIG_BPW));