Browse Source

ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h

In preparation to the introduction of the support for additional SoC,
the mvebu/common.h should be clear of Armada 370/XP-specific
definitions. Therefore, move the Armada 370/XP SMP specific
definitions to the armada-370-xp.h file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Thomas Petazzoni 11 years ago
parent
commit
11dc35e4a2
2 changed files with 3 additions and 2 deletions
  1. 2 0
      arch/arm/mach-mvebu/armada-370-xp.h
  2. 1 2
      arch/arm/mach-mvebu/common.h

+ 2 - 0
arch/arm/mach-mvebu/armada-370-xp.h

@@ -22,6 +22,8 @@
 
 void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
 void armada_xp_mpic_smp_cpu_init(void);
+void armada_xp_secondary_startup(void);
+extern struct smp_operations armada_xp_smp_ops;
 #endif
 
 #endif /* __MACH_ARMADA_370_XP_H */

+ 1 - 2
arch/arm/mach-mvebu/common.h

@@ -20,6 +20,5 @@
 void mvebu_restart(enum reboot_mode mode, const char *cmd);
 
 void armada_xp_cpu_die(unsigned int cpu);
-void armada_xp_secondary_startup(void);
-extern struct smp_operations armada_xp_smp_ops;
+
 #endif