diff options
Diffstat (limited to 'arch/ia64/kernel/salinfo.c')
-rw-r--r-- | arch/ia64/kernel/salinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/salinfo.c b/arch/ia64/kernel/salinfo.c index 25cd75f50ab1..779c3cca206c 100644 --- a/arch/ia64/kernel/salinfo.c +++ b/arch/ia64/kernel/salinfo.c | |||
@@ -574,7 +574,7 @@ static const struct file_operations salinfo_data_fops = { | |||
574 | .write = salinfo_log_write, | 574 | .write = salinfo_log_write, |
575 | }; | 575 | }; |
576 | 576 | ||
577 | static int __devinit | 577 | static int __cpuinit |
578 | salinfo_cpu_callback(struct notifier_block *nb, unsigned long action, void *hcpu) | 578 | salinfo_cpu_callback(struct notifier_block *nb, unsigned long action, void *hcpu) |
579 | { | 579 | { |
580 | unsigned int i, cpu = (unsigned long)hcpu; | 580 | unsigned int i, cpu = (unsigned long)hcpu; |
@@ -615,7 +615,7 @@ salinfo_cpu_callback(struct notifier_block *nb, unsigned long action, void *hcpu | |||
615 | return NOTIFY_OK; | 615 | return NOTIFY_OK; |
616 | } | 616 | } |
617 | 617 | ||
618 | static struct notifier_block salinfo_cpu_notifier = | 618 | static struct notifier_block salinfo_cpu_notifier __cpuinitdata = |
619 | { | 619 | { |
620 | .notifier_call = salinfo_cpu_callback, | 620 | .notifier_call = salinfo_cpu_callback, |
621 | .priority = 0, | 621 | .priority = 0, |