mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
ARM64 irq work self-IPI support depends on __smp_cross_call to point to some relevant IRQ controller operations. This information should be available after the call to init_IRQ(). Lets implement arch_irq_work_has_interrupt() accordingly. Acked-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Catalin Marinas <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
12 lines
189 B
C
12 lines
189 B
C
#ifndef __ASM_IRQ_WORK_H
|
|
#define __ASM_IRQ_WORK_H
|
|
|
|
#include <asm/smp.h>
|
|
|
|
static inline bool arch_irq_work_has_interrupt(void)
|
|
{
|
|
return !!__smp_cross_call;
|
|
}
|
|
|
|
#endif /* __ASM_IRQ_WORK_H */
|