|
@@ -4133,7 +4133,7 @@ void show_state_filter(unsigned long state_filter)
|
|
|
debug_show_all_locks();
|
|
|
}
|
|
|
|
|
|
-void __cpuinit init_idle_bootup_task(struct task_struct *idle)
|
|
|
+void init_idle_bootup_task(struct task_struct *idle)
|
|
|
{
|
|
|
idle->sched_class = &idle_sched_class;
|
|
|
}
|
|
@@ -4146,7 +4146,7 @@ void __cpuinit init_idle_bootup_task(struct task_struct *idle)
|
|
|
* NOTE: this function does not set the idle thread's NEED_RESCHED
|
|
|
* flag, to make booting more robust.
|
|
|
*/
|
|
|
-void __cpuinit init_idle(struct task_struct *idle, int cpu)
|
|
|
+void init_idle(struct task_struct *idle, int cpu)
|
|
|
{
|
|
|
struct rq *rq = cpu_rq(cpu);
|
|
|
unsigned long flags;
|
|
@@ -4630,7 +4630,7 @@ static void set_rq_offline(struct rq *rq)
|
|
|
* migration_call - callback that gets triggered when a CPU is added.
|
|
|
* Here we can start up the necessary migration thread for the new CPU.
|
|
|
*/
|
|
|
-static int __cpuinit
|
|
|
+static int
|
|
|
migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
|
|
|
{
|
|
|
int cpu = (long)hcpu;
|
|
@@ -4684,12 +4684,12 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
|
|
|
* happens before everything else. This has to be lower priority than
|
|
|
* the notifier in the perf_event subsystem, though.
|
|
|
*/
|
|
|
-static struct notifier_block __cpuinitdata migration_notifier = {
|
|
|
+static struct notifier_block migration_notifier = {
|
|
|
.notifier_call = migration_call,
|
|
|
.priority = CPU_PRI_MIGRATION,
|
|
|
};
|
|
|
|
|
|
-static int __cpuinit sched_cpu_active(struct notifier_block *nfb,
|
|
|
+static int sched_cpu_active(struct notifier_block *nfb,
|
|
|
unsigned long action, void *hcpu)
|
|
|
{
|
|
|
switch (action & ~CPU_TASKS_FROZEN) {
|
|
@@ -4702,7 +4702,7 @@ static int __cpuinit sched_cpu_active(struct notifier_block *nfb,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static int __cpuinit sched_cpu_inactive(struct notifier_block *nfb,
|
|
|
+static int sched_cpu_inactive(struct notifier_block *nfb,
|
|
|
unsigned long action, void *hcpu)
|
|
|
{
|
|
|
switch (action & ~CPU_TASKS_FROZEN) {
|