diff options
Diffstat (limited to 'arch/arm/mach-virt/virt.c')
-rw-r--r-- | arch/arm/mach-virt/virt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-virt/virt.c b/arch/arm/mach-virt/virt.c index d8a84b53fe0c..f6ed9cfeb287 100644 --- a/arch/arm/mach-virt/virt.c +++ b/arch/arm/mach-virt/virt.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/irqchip.h> | 21 | #include <linux/irqchip.h> |
22 | #include <linux/of_irq.h> | 22 | #include <linux/of_irq.h> |
23 | #include <linux/of_platform.h> | 23 | #include <linux/of_platform.h> |
24 | #include <linux/smp.h> | ||
24 | 25 | ||
25 | #include <asm/arch_timer.h> | 26 | #include <asm/arch_timer.h> |
26 | #include <asm/mach/arch.h> | 27 | #include <asm/mach/arch.h> |
@@ -46,9 +47,12 @@ static struct sys_timer virt_timer = { | |||
46 | .init = virt_timer_init, | 47 | .init = virt_timer_init, |
47 | }; | 48 | }; |
48 | 49 | ||
50 | extern struct smp_operations virt_smp_ops; | ||
51 | |||
49 | DT_MACHINE_START(VIRT, "Dummy Virtual Machine") | 52 | DT_MACHINE_START(VIRT, "Dummy Virtual Machine") |
50 | .init_irq = irqchip_init, | 53 | .init_irq = irqchip_init, |
51 | .timer = &virt_timer, | 54 | .timer = &virt_timer, |
52 | .init_machine = virt_init, | 55 | .init_machine = virt_init, |
56 | .smp = smp_ops(virt_smp_ops), | ||
53 | .dt_compat = virt_dt_match, | 57 | .dt_compat = virt_dt_match, |
54 | MACHINE_END | 58 | MACHINE_END |