diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2006-07-30 06:03:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-31 16:28:39 -0400 |
commit | 8c78f3075dab4be279e283f901f00e33ce44890a (patch) | |
tree | 034d667a713b24d39608b09bd2aafb7983fb6ba5 /kernel/softirq.c | |
parent | cea6a4ba8acfba6f59cc9ed71e0d05cb770b9d9c (diff) |
[PATCH] cpu hotplug: replace __devinit* with __cpuinit* for cpu notifications
Few of the callback functions and notifier blocks that are associated with cpu
notifications incorrectly have __devinit and __devinitdata. They should be
__cpuinit and __cpuinitdata instead.
It makes no functional difference but wastes text area when CONFIG_HOTPLUG is
enabled and CONFIG_HOTPLUG_CPU is not.
This patch fixes all those instances.
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>
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 0f08a84ae307..aab880677ce0 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -547,7 +547,7 @@ static void takeover_tasklets(unsigned int cpu) | |||
547 | } | 547 | } |
548 | #endif /* CONFIG_HOTPLUG_CPU */ | 548 | #endif /* CONFIG_HOTPLUG_CPU */ |
549 | 549 | ||
550 | static int __devinit cpu_callback(struct notifier_block *nfb, | 550 | static int __cpuinit cpu_callback(struct notifier_block *nfb, |
551 | unsigned long action, | 551 | unsigned long action, |
552 | void *hcpu) | 552 | void *hcpu) |
553 | { | 553 | { |
@@ -587,7 +587,7 @@ static int __devinit cpu_callback(struct notifier_block *nfb, | |||
587 | return NOTIFY_OK; | 587 | return NOTIFY_OK; |
588 | } | 588 | } |
589 | 589 | ||
590 | static struct notifier_block __devinitdata cpu_nfb = { | 590 | static struct notifier_block __cpuinitdata cpu_nfb = { |
591 | .notifier_call = cpu_callback | 591 | .notifier_call = cpu_callback |
592 | }; | 592 | }; |
593 | 593 | ||