|
@@ -72,7 +72,7 @@ struct smp_ops {
|
|
|
void (*stop_other_cpus)(int wait);
|
|
|
void (*smp_send_reschedule)(int cpu);
|
|
|
|
|
|
- int (*cpu_up)(unsigned cpu);
|
|
|
+ int (*cpu_up)(unsigned cpu, struct task_struct *tidle);
|
|
|
int (*cpu_disable)(void);
|
|
|
void (*cpu_die)(unsigned int cpu);
|
|
|
void (*play_dead)(void);
|
|
@@ -117,7 +117,7 @@ static inline void smp_cpus_done(unsigned int max_cpus)
|
|
|
|
|
|
static inline int __cpu_up(unsigned int cpu, struct task_struct *tidle)
|
|
|
{
|
|
|
- return smp_ops.cpu_up(cpu);
|
|
|
+ return smp_ops.cpu_up(cpu, tidle);
|
|
|
}
|
|
|
|
|
|
static inline int __cpu_disable(void)
|
|
@@ -154,7 +154,7 @@ void cpu_disable_common(void);
|
|
|
void native_smp_prepare_boot_cpu(void);
|
|
|
void native_smp_prepare_cpus(unsigned int max_cpus);
|
|
|
void native_smp_cpus_done(unsigned int max_cpus);
|
|
|
-int native_cpu_up(unsigned int cpunum);
|
|
|
+int native_cpu_up(unsigned int cpunum, struct task_struct *tidle);
|
|
|
int native_cpu_disable(void);
|
|
|
void native_cpu_die(unsigned int cpu);
|
|
|
void native_play_dead(void);
|