diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2014-08-16 12:48:05 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2014-09-13 12:46:13 -0400 |
commit | 3631073659d0aafeaa52227bb61a100efaf901dc (patch) | |
tree | c524a0c470c42151d674b501fe84247b67dc7ba3 /arch/arm64/kernel | |
parent | 09f6edd424218eb69078551b2ecfada1f2d098eb (diff) |
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>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 474339718105..b06d1d90ee8c 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c | |||
@@ -470,7 +470,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus) | |||
470 | } | 470 | } |
471 | } | 471 | } |
472 | 472 | ||
473 | static void (*__smp_cross_call)(const struct cpumask *, unsigned int); | 473 | void (*__smp_cross_call)(const struct cpumask *, unsigned int); |
474 | 474 | ||
475 | void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) | 475 | void __init set_smp_cross_call(void (*fn)(const struct cpumask *, unsigned int)) |
476 | { | 476 | { |