Przeglądaj źródła

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>
Eric Anholt 9 lat temu
rodzic
commit
cb290d827e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/irqchip/irq-bcm2836.c

+ 1 - 1
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);