Skip to content
Snippets Groups Projects
Commit cd02e27b authored by Linus Torvalds's avatar Linus Torvalds
Browse files

x86: Fix silly typo in recent <asm/signal.h> fixes


The second __const_sigaddset() should have been a sigdelset..  Compile
trouble noted by Greg K-H.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 60279944
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ static __inline__ void __gen_sigdelset(sigset_t *set, int _sig) ...@@ -186,7 +186,7 @@ static __inline__ void __gen_sigdelset(sigset_t *set, int _sig)
__asm__("btrl %1,%0" : "+m"(*set) : "Ir"(_sig - 1) : "cc"); __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; unsigned long sig = _sig - 1;
set->sig[sig / _NSIG_BPW] &= ~(1 << (sig % _NSIG_BPW)); set->sig[sig / _NSIG_BPW] &= ~(1 << (sig % _NSIG_BPW));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment