diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-17 13:04:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-17 13:04:31 -0500 |
commit | cd02e27b1514a27b2a8ab59755ae6d23d4d8a10f (patch) | |
tree | 75f624b82ab95446661a6322f644dae01dced710 /include/asm-i386 | |
parent | 6027994423e12a3c0b22d3dbf9ac87364ca4e0ec (diff) |
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: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/signal.h b/include/asm-i386/signal.h index 6ba29f145bf8..76524b4052ac 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) | |||
186 | __asm__("btrl %1,%0" : "+m"(*set) : "Ir"(_sig - 1) : "cc"); | 186 | __asm__("btrl %1,%0" : "+m"(*set) : "Ir"(_sig - 1) : "cc"); |
187 | } | 187 | } |
188 | 188 | ||
189 | static __inline__ void __const_sigaddset(sigset_t *set, int _sig) | 189 | static __inline__ void __const_sigdelset(sigset_t *set, int _sig) |
190 | { | 190 | { |
191 | unsigned long sig = _sig - 1; | 191 | unsigned long sig = _sig - 1; |
192 | set->sig[sig / _NSIG_BPW] &= ~(1 << (sig % _NSIG_BPW)); | 192 | set->sig[sig / _NSIG_BPW] &= ~(1 << (sig % _NSIG_BPW)); |