]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: msm: Move core.h contents into common.h
authorDavid Brown <davidb@codeaurora.org>
Wed, 12 Sep 2012 23:01:40 +0000 (16:01 -0700)
committerOlof Johansson <olof@lixom.net>
Sat, 22 Sep 2012 07:16:25 +0000 (00:16 -0700)
No real need to have a separate core.h from the common.h file.  Fold
these two prototypes into the common header file.

Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-msm/board-dt-8660.c
arch/arm/mach-msm/board-dt-8960.c
arch/arm/mach-msm/common.h
arch/arm/mach-msm/hotplug.c
arch/arm/mach-msm/platsmp.c

index e5643f629dcd88cb6d0ff773ce0596fb638ef9e1..b5b4de2cdf9e0a4ae9526087c04ae2c9ec01f2ff 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <mach/board.h>
 #include "common.h"
-#include "core.h"
 
 static const struct of_device_id msm_dt_gic_match[] __initconst = {
        { .compatible = "qcom,msm-8660-qgic", .data = gic_of_init },
index 139d61bbc8e7898c66299098c679a74ae2063062..4490edb71c17d245164dba85ba6a69746003ff00 100644 (file)
@@ -18,7 +18,6 @@
 #include <asm/mach/arch.h>
 
 #include "common.h"
-#include "core.h"
 
 static const struct of_device_id msm_dt_gic_match[] __initconst = {
        { .compatible = "qcom,msm-qgic2", .data = gic_of_init },
index d68e5d7854f5fc2f33a86e805e3e36c4277330fc..633a7159d5ffd09a76d774dce2974f6b2efce848 100644 (file)
@@ -26,5 +26,7 @@ extern void msm_map_qsd8x50_io(void);
 extern void __iomem *__msm_ioremap_caller(unsigned long phys_addr, size_t size,
                                          unsigned int mtype, void *caller);
 
+extern struct smp_operations msm_smp_ops;
+extern void msm_cpu_die(unsigned int cpu);
 
 #endif
index 002ac1e47235da9f49d18a4708f6125c53d9bf0b..750446feb444083aca6c39bb11e8067681c61f35 100644 (file)
@@ -13,7 +13,7 @@
 #include <asm/cacheflush.h>
 #include <asm/smp_plat.h>
 
-#include "core.h"
+#include "common.h"
 
 static inline void cpu_enter_lowpower(void)
 {
index 637021c0d8afc2ac4283d84f23e5bd084809606f..7ed69b69c87c841cf8f7da5da0d903034c47a078 100644 (file)
@@ -23,7 +23,7 @@
 #include <asm/smp_plat.h>
 
 #include "scm-boot.h"
-#include "core.h"
+#include "common.h"
 
 #define VDD_SC1_ARRAY_CLAMP_GFS_CTL 0x15A0
 #define SCSS_CPU1CORE_RESET 0xD80