mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
09f6edd424
ARM irq work IPI support depends on SMP support. That information is partly known at early boottime. Lets implement arch_irq_work_has_interrupt() accordingly. Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
12 lines
195 B
C
12 lines
195 B
C
#ifndef __ASM_ARM_IRQ_WORK_H
|
|
#define __ASM_ARM_IRQ_WORK_H
|
|
|
|
#include <asm/smp_plat.h>
|
|
|
|
static inline bool arch_irq_work_has_interrupt(void)
|
|
{
|
|
return is_smp();
|
|
}
|
|
|
|
#endif /* _ASM_ARM_IRQ_WORK_H */
|