Commit
054cc8a2d808822dadf488a61729e3e550f114c4
[PATCH] cpu hotplug: revert initdata patch submitted for 2.6.17
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>
Showing
9 changed files
with
9 additions
and
9 deletions
Side-by-side Diff
... |
... |
@@ -297,7 +297,7 @@ |
297
|
297 |
return NOTIFY_OK; |
298
|
298 |
} |
299
|
299 |
|
300
|
|
-static struct notifier_block sysfs_cpu_nb = { |
|
300 |
+static struct notifier_block __devinitdata sysfs_cpu_nb = { |
301
|
301 |
.notifier_call = sysfs_cpu_notify, |
302
|
302 |
}; |
303
|
303 |
|
... |
... |
@@ -652,7 +652,7 @@ |
652
|
652 |
return NOTIFY_OK; |
653
|
653 |
} |
654
|
654 |
|
655
|
|
-static struct notifier_block appldata_nb = { |
|
655 |
+static struct notifier_block __devinitdata appldata_nb = { |
656
|
656 |
.notifier_call = appldata_cpu_notify, |
657
|
657 |
}; |
658
|
658 |
|
... |
... |
@@ -857,7 +857,7 @@ |
857
|
857 |
return NOTIFY_OK; |
858
|
858 |
} |
859
|
859 |
|
860
|
|
-static struct notifier_block hrtimers_nb = { |
|
860 |
+static struct notifier_block __devinitdata hrtimers_nb = { |
861
|
861 |
.notifier_call = hrtimer_cpu_notify, |
862
|
862 |
}; |
863
|
863 |
|
... |
... |
@@ -565,7 +565,7 @@ |
565
|
565 |
return NOTIFY_OK; |
566
|
566 |
} |
567
|
567 |
|
568
|
|
-static struct notifier_block rcu_nb = { |
|
568 |
+static struct notifier_block __devinitdata rcu_nb = { |
569
|
569 |
.notifier_call = rcu_cpu_notify, |
570
|
570 |
}; |
571
|
571 |
|
... |
... |
@@ -4805,7 +4805,7 @@ |
4805
|
4805 |
/* Register at highest priority so that task migration (migrate_all_tasks) |
4806
|
4806 |
* happens before everything else. |
4807
|
4807 |
*/ |
4808
|
|
-static struct notifier_block migration_notifier = { |
|
4808 |
+static struct notifier_block __devinitdata migration_notifier = { |
4809
|
4809 |
.notifier_call = migration_call, |
4810
|
4810 |
.priority = 10 |
4811
|
4811 |
}; |
... |
... |
@@ -486,7 +486,7 @@ |
486
|
486 |
return NOTIFY_OK; |
487
|
487 |
} |
488
|
488 |
|
489
|
|
-static struct notifier_block cpu_nfb = { |
|
489 |
+static struct notifier_block __devinitdata cpu_nfb = { |
490
|
490 |
.notifier_call = cpu_callback |
491
|
491 |
}; |
492
|
492 |
|
... |
... |
@@ -142,7 +142,7 @@ |
142
|
142 |
return NOTIFY_OK; |
143
|
143 |
} |
144
|
144 |
|
145
|
|
-static struct notifier_block cpu_nfb = { |
|
145 |
+static struct notifier_block __devinitdata cpu_nfb = { |
146
|
146 |
.notifier_call = cpu_callback |
147
|
147 |
}; |
148
|
148 |
|