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:
Tao Huang
2020-03-17 19:11:23 +08:00
parent d9ac156757
commit dc4e4cc806

View File

@@ -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