From: Eric Anholt Date: Wed, 13 Apr 2016 20:28:42 +0000 (-0700) Subject: irqchip/bcm2836: Fix compiler warning on 64-bit build X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cb290d827eb0378447095093b4ea712482d31ae8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git irqchip/bcm2836: Fix compiler warning on 64-bit build Signed-off-by: Eric Anholt Acked-by: Stephen Warren Signed-off-by: Marc Zyngier --- 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);