Skip to content

Commit 1a8bc8f

Browse files
Frederic WeisbeckerIngo Molnar
authored andcommitted
softirq/x86: Switch to generic local_softirq_pending() implementation
Remove the ad-hoc implementation, the generic code now allows us not to reinvent the wheel. Signed-off-by: Frederic Weisbecker <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: David S. Miller <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Helge Deller <[email protected]> Cc: James E.J. Bottomley <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Rich Felker <[email protected]> Cc: Sebastian Andrzej Siewior <[email protected]> Cc: Tony Luck <[email protected]> Cc: Yoshinori Sato <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 424f7d3 commit 1a8bc8f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

arch/x86/include/asm/hardirq.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
5050

5151
#define inc_irq_stat(member) this_cpu_inc(irq_stat.member)
5252

53-
#define local_softirq_pending() this_cpu_read(irq_stat.__softirq_pending)
54-
55-
#define __ARCH_SET_SOFTIRQ_PENDING
56-
57-
#define set_softirq_pending(x) \
58-
this_cpu_write(irq_stat.__softirq_pending, (x))
59-
#define or_softirq_pending(x) this_cpu_or(irq_stat.__softirq_pending, (x))
60-
6153
extern void ack_bad_irq(unsigned int irq);
6254

6355
extern u64 arch_irq_stat_cpu(unsigned int cpu);

0 commit comments

Comments
 (0)