projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6027994
)
x86: Fix silly typo in recent <asm/signal.h> fixes
author
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 17 Nov 2005 18:04:31 +0000
(10:04 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 17 Nov 2005 18:04:31 +0000
(10:04 -0800)
The second __const_sigaddset() should have been a sigdelset.. Compile
trouble noted by Greg K-H.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/signal.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-i386/signal.h
b/include/asm-i386/signal.h
index 6ba29f145bf8d113de476fb24e34223c99b4f283..76524b4052ac02b071bb40889728c97af91cea41 100644
(file)
--- 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_sig
add
set(sigset_t *set, int _sig)
+static __inline__ void __const_sig
del
set(sigset_t *set, int _sig)
{
unsigned long sig = _sig - 1;
set->sig[sig / _NSIG_BPW] &= ~(1 << (sig % _NSIG_BPW));