summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-bcm2836.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-04-13 23:28:42 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2016-05-11 12:12:56 +0300
commitcb290d827eb0378447095093b4ea712482d31ae8 (patch)
treee9b41e6169de828fef3f7a1d2c3f17dbfe944dce /drivers/irqchip/irq-bcm2836.c
parent0dc17be87647cd4c891e748a0753ad0606dc5775 (diff)
downloadlinux-cb290d827eb0378447095093b4ea712482d31ae8.tar.xz
irqchip/bcm2836: Fix compiler warning on 64-bit build
Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-bcm2836.c')
-rw-r--r--drivers/irqchip/irq-bcm2836.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
index 43aefb25bb5f..f8141bd392c1 100644
--- a/drivers/irqchip/irq-bcm2836.c
+++ b/drivers/irqchip/irq-bcm2836.c
@@ -253,7 +253,7 @@ bcm2836_arm_irqchip_smp_init(void)
/* Unmask IPIs to the boot CPU. */
bcm2836_arm_irqchip_cpu_notify(&bcm2836_arm_irqchip_cpu_notifier,
CPU_STARTING,
- (void *)smp_processor_id());
+ (void *)(uintptr_t)smp_processor_id());
register_cpu_notifier(&bcm2836_arm_irqchip_cpu_notifier);
set_smp_cross_call(bcm2836_arm_irqchip_send_ipi);