+ signals-kill-sigfindinword.patch added to -mm tree
Subsystems (2)
Subject: + signals-kill-sigfindinword.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 15 Apr 2014 12:28:44 -0700
The patch titled
Subject: signals: kill sigfindinword()
has been added to the -mm tree. Its filename is
signals-kill-sigfindinword.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/signals-kill-sigfindinword.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/signals-kill-sigfindinword.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Oleg Nesterov <[email protected]>
Subject: signals: kill sigfindinword()
It has no users and it doesn't look useful. I do not know why/when it was introduced, I can't even find any user in the git history.
---
arch/m68k/include/asm/signal.h | 9 --------- arch/x86/include/asm/signal.h | 6 ------ include/linux/signal.h | 5 ----- 3 files changed, 20 deletions(-)
arch/m68k/include/asm/signal.h renamed from arch/m68k/include/asm/signal.h~signals-kill-sigfindinword +0 -9
@@ -60,15 +60,6 @@ static inline int __gen_sigismember(sigs __const_sigismember(set,sig) : \ __gen_sigismember(set,sig)) -static inline int sigfindinword (unsigned long word) -{ - asm ("bfffo %1{#0,#0},%0" - :"=d" (word) - :"d" (word & -word) - :"cc" ); -return word ^31 ; -} -#endif /* !CONFIG_CPU_HAS_NO_BITFIELDS */ #ifndef __uClinux__
arch/x86/include/asm/signal.h renamed from arch/x86/include/asm/signal.h~signals-kill-sigfindinword +0 -6
@@ -92,12 +92,6 @@ static inline int __gen_sigismember(sigs ? __const_sigismember((set), (sig)) \ : __gen_sigismember((set), (sig))) -static inline int sigfindinword (unsigned long word) -{ - asm("bsfl %1,%0" :"=r" (word) :"rm" (word) :"cc" ); -return word; -} -struct pt_regs ;#else /* __i386__ */
include/linux/signal.h renamed from include/linux/signal.h~signals-kill-sigfindinword +0 -4
@@ -63,11 +63,6 @@ static inline int sigismember(sigset_t *return 1 & (set->sig[sig / _NSIG_BPW] >> (sig % _NSIG_BPW)); } -static inline int sigfindinword (unsigned long word) -{ -return ffz (~word); -}