aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/clocksource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 5697155f1868..2c2e5ba1453d 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -471,7 +471,9 @@ static void clocksource_select(void)
471static int __init clocksource_done_booting(void) 471static int __init clocksource_done_booting(void)
472{ 472{
473 finished_booting = 1; 473 finished_booting = 1;
474 mutex_lock(&clocksource_mutex);
474 clocksource_select(); 475 clocksource_select();
476 mutex_unlock(&clocksource_mutex);
475 return 0; 477 return 0;
476} 478}
477fs_initcall(clocksource_done_booting); 479fs_initcall(clocksource_done_booting);