arm64: Tell irq work about self IPI support
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 16 Aug 2014 16:48:05 +0000 (18:48 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sat, 13 Sep 2014 16:46:13 +0000 (18:46 +0200)
commit3631073659d0aafeaa52227bb61a100efaf901dc
treec524a0c470c42151d674b501fe84247b67dc7ba3
parent09f6edd424218eb69078551b2ecfada1f2d098eb
arm64: Tell irq work about self IPI support

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>
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/irq_work.h [new file with mode: 0644]
arch/arm64/include/asm/smp.h
arch/arm64/kernel/smp.c