summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcm/platsmp.h
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2017-08-06 17:52:02 +0200
committerFlorian Fainelli <f.fainelli@gmail.com>2017-09-25 11:52:26 -0700
commit88bbe85dcd37aa2662c1a83962c15009fc12503e (patch)
treefd805241038275a14c8050d26e3201e8ed7c73be /arch/arm/mach-bcm/platsmp.h
parent1d66af81905a4e2f3d03913f5449a8e9b5d3facd (diff)
irqchip: bcm2836: Move SMP startup code to arch/arm (v2)
In order to easily provide SMP for BCM2837 on 32-bit and 64-bit the SMP startup code was placed in irq-bcm2836. That's not the right approach. So move this code where it belongs. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Fixes: 41f4988cc287 ("irqchip/bcm2836: Add SMP support for the 2836") Tested-by: Eric Anholt <eric@anholt.net> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/mach-bcm/platsmp.h')
-rw-r--r--arch/arm/mach-bcm/platsmp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-bcm/platsmp.h b/arch/arm/mach-bcm/platsmp.h
new file mode 100644
index 000000000000..b8b8b3fa350d
--- /dev/null
+++ b/arch/arm/mach-bcm/platsmp.h
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2017 Stefan Wahren <stefan.wahren@i2se.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation version 2.
+ *
+ */
+
+extern const struct smp_operations bcm2836_smp_ops;