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) <peterz@infradead.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Will Deacon <will.deacon@arm.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>tirimbino
parent
09f6edd424
commit
3631073659
@ -0,0 +1,11 @@ |
||||
#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 */ |
Loading…
Reference in new issue