mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
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) <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Russell King <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
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 */
|