]> Pileus Git - ~andy/linux/commitdiff
ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 Dec 2013 08:48:09 +0000 (09:48 +0100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 25 Dec 2013 01:41:50 +0000 (01:41 +0000)
The ARMADA_XP_MAX_CPUS definition was in common.h, which as its name
says, is common to all mvebu SoCs. It is more logical to have this XP
specific definition in the already existing armada-370-xp.h header
file, especially in preparation to the addition of the support for
other SOCs in mach-mvebu.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/armada-370-xp.h
arch/arm/mach-mvebu/common.h

index c612b2c4ed6cf9969153c1cee7c96221f054d1d8..4ed534d6be499900bde5369e5adb18670c149960 100644 (file)
@@ -18,6 +18,8 @@
 #ifdef CONFIG_SMP
 #include <linux/cpumask.h>
 
+#define ARMADA_XP_MAX_CPUS 4
+
 void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq);
 void armada_xp_mpic_smp_cpu_init(void);
 #endif
index 0e6016fadcc58a3ae249eba501d31c11b7e1062e..8de509a14e868152fa9443a0fdb643049f78a124 100644 (file)
@@ -15,8 +15,6 @@
 #ifndef __ARCH_MVEBU_COMMON_H
 #define __ARCH_MVEBU_COMMON_H
 
-#define ARMADA_XP_MAX_CPUS 4
-
 #include <linux/reboot.h>
 
 void mvebu_restart(enum reboot_mode mode, const char *cmd);