]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/irqchip/irq-bcm2836.c
irqchip/bcm2836: Fix compiler warning on 64-bit build
[karo-tx-linux.git] / drivers / irqchip / irq-bcm2836.c
index 43aefb25bb5f6e0de3b5f65cdd2b9defe2e38464..f8141bd392c12ff0b139fd7df7379e0b167af390 100644 (file)
@@ -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);