mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ARM: alignment: Call alignment_init() later when CONFIG_ROCKCHIP_THUNDER_BOOT=y
alignment_init() create proc file "cpu/alignment" at the fs_initcall level. While "cpu" dir is created on proc_cpu_init() at the same initcall level too. Fix this by move alignment_init() to the fs_initcall_sync level. Change-Id: I8a8831f103b6729f57a8a70ff1bf5672fdf98810 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -1055,4 +1055,8 @@ static int __init alignment_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
fs_initcall_sync(alignment_init);
|
||||
#else
|
||||
fs_initcall(alignment_init);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user