diff options
author | Oleg Nesterov <oleg@redhat.com> | 2014-06-06 17:36:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:11 -0400 |
commit | 36fac0a214805bd7c8307cad1cde60a7b833266d (patch) | |
tree | 52bffa22f6f124876131b885e6dcdd9dea81ee53 /arch/m68k | |
parent | 650226bd95817d727c9a388752d72ef292c4a668 (diff) |
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.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/include/asm/signal.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/m68k/include/asm/signal.h b/arch/m68k/include/asm/signal.h index 214320b50384..8c8ce5e1ee0e 100644 --- a/arch/m68k/include/asm/signal.h +++ b/arch/m68k/include/asm/signal.h | |||
@@ -60,15 +60,6 @@ static inline int __gen_sigismember(sigset_t *set, int _sig) | |||
60 | __const_sigismember(set,sig) : \ | 60 | __const_sigismember(set,sig) : \ |
61 | __gen_sigismember(set,sig)) | 61 | __gen_sigismember(set,sig)) |
62 | 62 | ||
63 | static inline int sigfindinword(unsigned long word) | ||
64 | { | ||
65 | asm ("bfffo %1{#0,#0},%0" | ||
66 | : "=d" (word) | ||
67 | : "d" (word & -word) | ||
68 | : "cc"); | ||
69 | return word ^ 31; | ||
70 | } | ||
71 | |||
72 | #endif /* !CONFIG_CPU_HAS_NO_BITFIELDS */ | 63 | #endif /* !CONFIG_CPU_HAS_NO_BITFIELDS */ |
73 | 64 | ||
74 | #ifndef __uClinux__ | 65 | #ifndef __uClinux__ |