diff options
Diffstat (limited to 'kernel/cpu.c')
| -rw-r--r-- | kernel/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index 563f13609470..cf915b86a5fb 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
| @@ -470,7 +470,7 @@ out: | |||
| 470 | cpu_maps_update_done(); | 470 | cpu_maps_update_done(); |
| 471 | } | 471 | } |
| 472 | 472 | ||
| 473 | static int alloc_frozen_cpus(void) | 473 | static int __init alloc_frozen_cpus(void) |
| 474 | { | 474 | { |
| 475 | if (!alloc_cpumask_var(&frozen_cpus, GFP_KERNEL|__GFP_ZERO)) | 475 | if (!alloc_cpumask_var(&frozen_cpus, GFP_KERNEL|__GFP_ZERO)) |
| 476 | return -ENOMEM; | 476 | return -ENOMEM; |
| @@ -543,7 +543,7 @@ cpu_hotplug_pm_callback(struct notifier_block *nb, | |||
| 543 | } | 543 | } |
| 544 | 544 | ||
| 545 | 545 | ||
| 546 | int cpu_hotplug_pm_sync_init(void) | 546 | static int __init cpu_hotplug_pm_sync_init(void) |
| 547 | { | 547 | { |
| 548 | pm_notifier(cpu_hotplug_pm_callback, 0); | 548 | pm_notifier(cpu_hotplug_pm_callback, 0); |
| 549 | return 0; | 549 | return 0; |
