diff options
Diffstat (limited to 'arch/arm/mach-msm')
| -rw-r--r-- | arch/arm/mach-msm/headsmp.S | 2 | ||||
| -rw-r--r-- | arch/arm/mach-msm/platsmp.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-msm/timer.c | 4 |
3 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/mach-msm/headsmp.S b/arch/arm/mach-msm/headsmp.S index bcd5af223dea..6c62c3f82fe6 100644 --- a/arch/arm/mach-msm/headsmp.S +++ b/arch/arm/mach-msm/headsmp.S | |||
| @@ -11,8 +11,6 @@ | |||
| 11 | #include <linux/linkage.h> | 11 | #include <linux/linkage.h> |
| 12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
| 13 | 13 | ||
| 14 | __CPUINIT | ||
| 15 | |||
| 16 | /* | 14 | /* |
| 17 | * MSM specific entry point for secondary CPUs. This provides | 15 | * MSM specific entry point for secondary CPUs. This provides |
| 18 | * a "holding pen" into which all secondary cores are held until we're | 16 | * a "holding pen" into which all secondary cores are held until we're |
diff --git a/arch/arm/mach-msm/platsmp.c b/arch/arm/mach-msm/platsmp.c index 00cdb0a5dac8..3f06edcdd0ce 100644 --- a/arch/arm/mach-msm/platsmp.c +++ b/arch/arm/mach-msm/platsmp.c | |||
| @@ -38,7 +38,7 @@ static inline int get_core_count(void) | |||
| 38 | return ((read_cpuid_id() >> 4) & 3) + 1; | 38 | return ((read_cpuid_id() >> 4) & 3) + 1; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | static void __cpuinit msm_secondary_init(unsigned int cpu) | 41 | static void msm_secondary_init(unsigned int cpu) |
| 42 | { | 42 | { |
| 43 | /* | 43 | /* |
| 44 | * let the primary processor know we're out of the | 44 | * let the primary processor know we're out of the |
| @@ -54,7 +54,7 @@ static void __cpuinit msm_secondary_init(unsigned int cpu) | |||
| 54 | spin_unlock(&boot_lock); | 54 | spin_unlock(&boot_lock); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | static __cpuinit void prepare_cold_cpu(unsigned int cpu) | 57 | static void prepare_cold_cpu(unsigned int cpu) |
| 58 | { | 58 | { |
| 59 | int ret; | 59 | int ret; |
| 60 | ret = scm_set_boot_addr(virt_to_phys(msm_secondary_startup), | 60 | ret = scm_set_boot_addr(virt_to_phys(msm_secondary_startup), |
| @@ -73,7 +73,7 @@ static __cpuinit void prepare_cold_cpu(unsigned int cpu) | |||
| 73 | "address\n"); | 73 | "address\n"); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | static int __cpuinit msm_boot_secondary(unsigned int cpu, struct task_struct *idle) | 76 | static int msm_boot_secondary(unsigned int cpu, struct task_struct *idle) |
| 77 | { | 77 | { |
| 78 | unsigned long timeout; | 78 | unsigned long timeout; |
| 79 | static int cold_boot_done; | 79 | static int cold_boot_done; |
diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c index b6418fd5fe0d..8697cfc0d0b6 100644 --- a/arch/arm/mach-msm/timer.c +++ b/arch/arm/mach-msm/timer.c | |||
| @@ -139,7 +139,7 @@ static struct clocksource msm_clocksource = { | |||
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | #ifdef CONFIG_LOCAL_TIMERS | 141 | #ifdef CONFIG_LOCAL_TIMERS |
| 142 | static int __cpuinit msm_local_timer_setup(struct clock_event_device *evt) | 142 | static int msm_local_timer_setup(struct clock_event_device *evt) |
| 143 | { | 143 | { |
| 144 | /* Use existing clock_event for cpu 0 */ | 144 | /* Use existing clock_event for cpu 0 */ |
| 145 | if (!smp_processor_id()) | 145 | if (!smp_processor_id()) |
| @@ -164,7 +164,7 @@ static void msm_local_timer_stop(struct clock_event_device *evt) | |||
| 164 | disable_percpu_irq(evt->irq); | 164 | disable_percpu_irq(evt->irq); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | static struct local_timer_ops msm_local_timer_ops __cpuinitdata = { | 167 | static struct local_timer_ops msm_local_timer_ops = { |
| 168 | .setup = msm_local_timer_setup, | 168 | .setup = msm_local_timer_setup, |
| 169 | .stop = msm_local_timer_stop, | 169 | .stop = msm_local_timer_stop, |
| 170 | }; | 170 | }; |
