diff options
author | Olof Johansson <olof@lixom.net> | 2014-01-02 14:39:51 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-01-02 14:39:51 -0500 |
commit | 26d5f92adf87b1267feb8727ec59c4d0c0d933be (patch) | |
tree | a78b0a3876de5512eb073f40a56a3d9e93990d43 | |
parent | 615e303e241cafa2ecf6452183532c2aff607920 (diff) | |
parent | 11dc35e4a24c7e650c40077b7843dcda1e9775c3 (diff) |
Merge tag 'mvebu-soc-3.14-2' of git://git.infradead.org/linux-mvebu into next/cleanup
From Jason Cooper:
mvebu SoC changes for v3.14 (incremental #2)
- mvebu
- some Armada cleanup to prep for a new SoC in mach-mvebu/
* tag 'mvebu-soc-3.14-2' of git://git.infradead.org/linux-mvebu:
ARM: mvebu: move Armada 370/XP specific definitions to armada-370-xp.h
ARM: mvebu: remove prototypes of non-existing functions from common.h
ARM: mvebu: move ARMADA_XP_MAX_CPUS to armada-370-xp.h
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/mach-mvebu/armada-370-xp.h | 4 | ||||
-rw-r--r-- | arch/arm/mach-mvebu/common.h | 9 |
2 files changed, 5 insertions, 8 deletions
diff --git a/arch/arm/mach-mvebu/armada-370-xp.h b/arch/arm/mach-mvebu/armada-370-xp.h index c612b2c4ed6c..237c86b83390 100644 --- a/arch/arm/mach-mvebu/armada-370-xp.h +++ b/arch/arm/mach-mvebu/armada-370-xp.h | |||
@@ -18,8 +18,12 @@ | |||
18 | #ifdef CONFIG_SMP | 18 | #ifdef CONFIG_SMP |
19 | #include <linux/cpumask.h> | 19 | #include <linux/cpumask.h> |
20 | 20 | ||
21 | #define ARMADA_XP_MAX_CPUS 4 | ||
22 | |||
21 | void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq); | 23 | void armada_mpic_send_doorbell(const struct cpumask *mask, unsigned int irq); |
22 | void armada_xp_mpic_smp_cpu_init(void); | 24 | void armada_xp_mpic_smp_cpu_init(void); |
25 | void armada_xp_secondary_startup(void); | ||
26 | extern struct smp_operations armada_xp_smp_ops; | ||
23 | #endif | 27 | #endif |
24 | 28 | ||
25 | #endif /* __MACH_ARMADA_370_XP_H */ | 29 | #endif /* __MACH_ARMADA_370_XP_H */ |
diff --git a/arch/arm/mach-mvebu/common.h b/arch/arm/mach-mvebu/common.h index 0e6016fadcc5..55449c487c9e 100644 --- a/arch/arm/mach-mvebu/common.h +++ b/arch/arm/mach-mvebu/common.h | |||
@@ -15,17 +15,10 @@ | |||
15 | #ifndef __ARCH_MVEBU_COMMON_H | 15 | #ifndef __ARCH_MVEBU_COMMON_H |
16 | #define __ARCH_MVEBU_COMMON_H | 16 | #define __ARCH_MVEBU_COMMON_H |
17 | 17 | ||
18 | #define ARMADA_XP_MAX_CPUS 4 | ||
19 | |||
20 | #include <linux/reboot.h> | 18 | #include <linux/reboot.h> |
21 | 19 | ||
22 | void mvebu_restart(enum reboot_mode mode, const char *cmd); | 20 | void mvebu_restart(enum reboot_mode mode, const char *cmd); |
23 | 21 | ||
24 | void armada_370_xp_init_irq(void); | ||
25 | void armada_370_xp_handle_irq(struct pt_regs *regs); | ||
26 | |||
27 | void armada_xp_cpu_die(unsigned int cpu); | 22 | void armada_xp_cpu_die(unsigned int cpu); |
28 | int armada_370_xp_coherency_init(void); | 23 | |
29 | void armada_xp_secondary_startup(void); | ||
30 | extern struct smp_operations armada_xp_smp_ops; | ||
31 | #endif | 24 | #endif |