Skip to content

Commit cb290d8

Browse files
anholtMarc Zyngier
authored andcommitted
irqchip/bcm2836: Fix compiler warning on 64-bit build
Signed-off-by: Eric Anholt <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
1 parent 0dc17be commit cb290d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-bcm2836.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ bcm2836_arm_irqchip_smp_init(void)
253253
/* Unmask IPIs to the boot CPU. */
254254
bcm2836_arm_irqchip_cpu_notify(&bcm2836_arm_irqchip_cpu_notifier,
255255
CPU_STARTING,
256-
(void *)smp_processor_id());
256+
(void *)(uintptr_t)smp_processor_id());
257257
register_cpu_notifier(&bcm2836_arm_irqchip_cpu_notifier);
258258

259259
set_smp_cross_call(bcm2836_arm_irqchip_send_ipi);

0 commit comments

Comments
 (0)