clocksource: Call clocksource_done_booting() early when CONFIG_ROCKCHIP_THUNDER_BOOT=y

Make sure subsys initcall fast.

Change-Id: Ib197b79477afaa6af6b35aeefab53137ee9f6749
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2020-04-30 09:58:16 +08:00
parent 6d59dcdf9a
commit ffb770a75b

View File

@ -842,7 +842,11 @@ static int __init clocksource_done_booting(void)
mutex_unlock(&clocksource_mutex);
return 0;
}
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
pure_initcall(clocksource_done_booting);
#else
fs_initcall(clocksource_done_booting);
#endif
/*
* Enqueue the clocksource sorted by rating