mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
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:
parent
6d59dcdf9a
commit
ffb770a75b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user