diff options
Diffstat (limited to 'arch/s390/kernel/cache.c')
-rw-r--r-- | arch/s390/kernel/cache.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/kernel/cache.c b/arch/s390/kernel/cache.c index 3a414c0f93ed..c0b03c28d157 100644 --- a/arch/s390/kernel/cache.c +++ b/arch/s390/kernel/cache.c | |||
@@ -378,9 +378,12 @@ static int __init cache_init(void) | |||
378 | if (!test_facility(34)) | 378 | if (!test_facility(34)) |
379 | return 0; | 379 | return 0; |
380 | cache_build_info(); | 380 | cache_build_info(); |
381 | |||
382 | cpu_notifier_register_begin(); | ||
381 | for_each_online_cpu(cpu) | 383 | for_each_online_cpu(cpu) |
382 | cache_add_cpu(cpu); | 384 | cache_add_cpu(cpu); |
383 | hotcpu_notifier(cache_hotplug, 0); | 385 | __hotcpu_notifier(cache_hotplug, 0); |
386 | cpu_notifier_register_done(); | ||
384 | return 0; | 387 | return 0; |
385 | } | 388 | } |
386 | device_initcall(cache_init); | 389 | device_initcall(cache_init); |