Skip to content

Commit

Permalink
irq-bcm2835: enable IPIs for SMP on BCM2836.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
  • Loading branch information
andreamerello authored and anholt committed May 5, 2015
1 parent 990f7b8 commit 0889912
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/irqchip/irq-bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
#define LOCAL_PM_ROUTING_SET 0x010
#define LOCAL_PM_ROUTING_CLR 0x014
#define LOCAL_TIMER_INT_CONTROL0 0x040
#define LOCAL_MAILBOX_INT_CONTROL0 0x050
#define LOCAL_IRQ_PENDING0 0x060
#define LOCAL_MAILBOX0_SET0 0x080
#define LOCAL_MAILBOX0_CLR0 0x0c0
Expand Down Expand Up @@ -293,6 +294,8 @@ static int __init armctrl_2836_of_init(struct device_node *node,
}

#ifdef CONFIG_SMP
/* unmask IPIs */
armctrl_unmask_per_cpu_irq(LOCAL_MAILBOX_INT_CONTROL0, 1);
set_smp_cross_call(armctrl_send_ipi);
#endif

Expand Down

0 comments on commit 0889912

Please sign in to comment.