Skip to content

Commit

Permalink
[PATCH] cpu hotplug: revert initdata patch submitted for 2.6.17
Browse files Browse the repository at this point in the history
This patch reverts notifier_block changes made in 2.6.17

Signed-off-by: Chandra Seetharaman <[email protected]>
Cc: Ashok Raj <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
chandra2 authored and Linus Torvalds committed Jun 28, 2006
1 parent 9c7b216 commit 054cc8a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static int __devinit sysfs_cpu_notify(struct notifier_block *self,
return NOTIFY_OK;
}

static struct notifier_block sysfs_cpu_nb = {
static struct notifier_block __devinitdata sysfs_cpu_nb = {
.notifier_call = sysfs_cpu_notify,
};

Expand Down
2 changes: 1 addition & 1 deletion arch/s390/appldata/appldata_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ appldata_cpu_notify(struct notifier_block *self,
return NOTIFY_OK;
}

static struct notifier_block appldata_nb = {
static struct notifier_block __devinitdata appldata_nb = {
.notifier_call = appldata_cpu_notify,
};

Expand Down
2 changes: 1 addition & 1 deletion block/ll_rw_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -3403,7 +3403,7 @@ static int blk_cpu_notify(struct notifier_block *self, unsigned long action,
}


static struct notifier_block blk_cpu_notifier = {
static struct notifier_block __devinitdata blk_cpu_notifier = {
.notifier_call = blk_cpu_notify,
};

Expand Down
2 changes: 1 addition & 1 deletion kernel/hrtimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ static int __devinit hrtimer_cpu_notify(struct notifier_block *self,
return NOTIFY_OK;
}

static struct notifier_block hrtimers_nb = {
static struct notifier_block __devinitdata hrtimers_nb = {
.notifier_call = hrtimer_cpu_notify,
};

Expand Down
2 changes: 1 addition & 1 deletion kernel/rcupdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ static int __devinit rcu_cpu_notify(struct notifier_block *self,
return NOTIFY_OK;
}

static struct notifier_block rcu_nb = {
static struct notifier_block __devinitdata rcu_nb = {
.notifier_call = rcu_cpu_notify,
};

Expand Down
2 changes: 1 addition & 1 deletion kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4805,7 +4805,7 @@ static int migration_call(struct notifier_block *nfb, unsigned long action,
/* Register at highest priority so that task migration (migrate_all_tasks)
* happens before everything else.
*/
static struct notifier_block migration_notifier = {
static struct notifier_block __devinitdata migration_notifier = {
.notifier_call = migration_call,
.priority = 10
};
Expand Down
2 changes: 1 addition & 1 deletion kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ static int __devinit cpu_callback(struct notifier_block *nfb,
return NOTIFY_OK;
}

static struct notifier_block cpu_nfb = {
static struct notifier_block __devinitdata cpu_nfb = {
.notifier_call = cpu_callback
};

Expand Down
2 changes: 1 addition & 1 deletion kernel/softlockup.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
return NOTIFY_OK;
}

static struct notifier_block cpu_nfb = {
static struct notifier_block __devinitdata cpu_nfb = {
.notifier_call = cpu_callback
};

Expand Down
2 changes: 1 addition & 1 deletion kernel/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ static int __devinit timer_cpu_notify(struct notifier_block *self,
return NOTIFY_OK;
}

static struct notifier_block timers_nb = {
static struct notifier_block __devinitdata timers_nb = {
.notifier_call = timer_cpu_notify,
};

Expand Down

0 comments on commit 054cc8a

Please sign in to comment.