|
@@ -58,7 +58,7 @@ struct secondary_data secondary_data;
|
|
|
* control for which core is the next to come out of the secondary
|
|
|
* boot "holding pen"
|
|
|
*/
|
|
|
-volatile int __cpuinitdata pen_release = -1;
|
|
|
+volatile int pen_release = -1;
|
|
|
|
|
|
enum ipi_msg_type {
|
|
|
IPI_WAKEUP,
|
|
@@ -86,7 +86,7 @@ static unsigned long get_arch_pgd(pgd_t *pgd)
|
|
|
return pgdir >> ARCH_PGD_SHIFT;
|
|
|
}
|
|
|
|
|
|
-int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle)
|
|
|
+int __cpu_up(unsigned int cpu, struct task_struct *idle)
|
|
|
{
|
|
|
int ret;
|
|
|
|
|
@@ -138,7 +138,7 @@ void __init smp_init_cpus(void)
|
|
|
smp_ops.smp_init_cpus();
|
|
|
}
|
|
|
|
|
|
-int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
|
|
|
+int boot_secondary(unsigned int cpu, struct task_struct *idle)
|
|
|
{
|
|
|
if (smp_ops.smp_boot_secondary)
|
|
|
return smp_ops.smp_boot_secondary(cpu, idle);
|
|
@@ -170,7 +170,7 @@ static int platform_cpu_disable(unsigned int cpu)
|
|
|
/*
|
|
|
* __cpu_disable runs on the processor to be shutdown.
|
|
|
*/
|
|
|
-int __cpuinit __cpu_disable(void)
|
|
|
+int __cpu_disable(void)
|
|
|
{
|
|
|
unsigned int cpu = smp_processor_id();
|
|
|
int ret;
|
|
@@ -216,7 +216,7 @@ static DECLARE_COMPLETION(cpu_died);
|
|
|
* called on the thread which is asking for a CPU to be shutdown -
|
|
|
* waits until shutdown has completed, or it is timed out.
|
|
|
*/
|
|
|
-void __cpuinit __cpu_die(unsigned int cpu)
|
|
|
+void __cpu_die(unsigned int cpu)
|
|
|
{
|
|
|
if (!wait_for_completion_timeout(&cpu_died, msecs_to_jiffies(5000))) {
|
|
|
pr_err("CPU%u: cpu didn't die\n", cpu);
|
|
@@ -306,7 +306,7 @@ void __ref cpu_die(void)
|
|
|
* Called by both boot and secondaries to move global data into
|
|
|
* per-processor storage.
|
|
|
*/
|
|
|
-static void __cpuinit smp_store_cpu_info(unsigned int cpuid)
|
|
|
+static void smp_store_cpu_info(unsigned int cpuid)
|
|
|
{
|
|
|
struct cpuinfo_arm *cpu_info = &per_cpu(cpu_data, cpuid);
|
|
|
|
|
@@ -322,7 +322,7 @@ static void percpu_timer_setup(void);
|
|
|
* This is the secondary CPU boot entry. We're using this CPUs
|
|
|
* idle thread stack, but a set of temporary page tables.
|
|
|
*/
|
|
|
-asmlinkage void __cpuinit secondary_start_kernel(void)
|
|
|
+asmlinkage void secondary_start_kernel(void)
|
|
|
{
|
|
|
struct mm_struct *mm = &init_mm;
|
|
|
unsigned int cpu;
|
|
@@ -521,7 +521,7 @@ static void broadcast_timer_set_mode(enum clock_event_mode mode,
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-static void __cpuinit broadcast_timer_setup(struct clock_event_device *evt)
|
|
|
+static void broadcast_timer_setup(struct clock_event_device *evt)
|
|
|
{
|
|
|
evt->name = "dummy_timer";
|
|
|
evt->features = CLOCK_EVT_FEAT_ONESHOT |
|
|
@@ -550,7 +550,7 @@ int local_timer_register(struct local_timer_ops *ops)
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-static void __cpuinit percpu_timer_setup(void)
|
|
|
+static void percpu_timer_setup(void)
|
|
|
{
|
|
|
unsigned int cpu = smp_processor_id();
|
|
|
struct clock_event_device *evt = &per_cpu(percpu_clockevent, cpu);
|