]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
[PATCH] cpu hotplug: revert initdata patch submitted for 2.6.17
authorChandra Seetharaman <sekharan@us.ibm.com>
Tue, 27 Jun 2006 09:54:07 +0000 (02:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 00:32:41 +0000 (17:32 -0700)
This patch reverts notifier_block changes made in 2.6.17

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/kernel/sysfs.c
arch/s390/appldata/appldata_base.c
block/ll_rw_blk.c
kernel/hrtimer.c
kernel/rcupdate.c
kernel/sched.c
kernel/softirq.c
kernel/softlockup.c
kernel/timer.c

index 0231869613ce81c45fd9125059b234ea2baee5d1..4662b580efa1648939eb9e03ec932dd6b63680e2 100644 (file)
@@ -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,
 };
 
index 9a22434a580c52f1245bedd5d0a1a6a7d81d7866..54d35c13090798810a5dfcc931446e07ec0dae8a 100644 (file)
@@ -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,
 };
 
index c04422a502da8ebd0cb03cc76d5962433fde6b0b..9610b07cc19685af8595026704791dad692943f6 100644 (file)
@@ -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,
 };
 
index f9f5319166129bc0f1753e0984d051a54d5401ae..8d3dc29ef41ae1fb616d4d8765cb1d077c862852 100644 (file)
@@ -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,
 };
 
index a8d80b7048b9177c639401e8cf7e6e4ab986aa22..f464f5ae3f11a8edfe12d7ff83b609013526cfe6 100644 (file)
@@ -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,
 };
 
index a856040c200a4213bd8b0b2d8b469e25bcc1d57f..b8deddb7833a52d2ad0ca4b439f45becea53ee1c 100644 (file)
@@ -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
 };
index db65a311f14e187a5383ed2cf31536ee1f16ab0d..8f03e3b89b5540a0e21b1bab99dcb455bb74ffd5 100644 (file)
@@ -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
 };
 
index 29da0a847ba2a2b8f15d1b9d325300aee0e4c09a..6b76caa229818811f61aaacf16afd9c2b6da5dc5 100644 (file)
@@ -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
 };
 
index 878194ec8bd6a45043d32f1da3534229eda2d14d..5a8960253063d00495366a48d92e06e5eb4133fa 100644 (file)
@@ -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,
 };