提交 0faabbe7 编写于 作者: L likailong

Description: Fixes qemu_arm_virt_ca7 target build failure after enabling...

Description: Fixes qemu_arm_virt_ca7 target build failure after enabling LOSCFG_COMPILE_DEBUG option in kernel configuration.
Reviewed-by: Zbigniew
上级 538b159c
...@@ -49,8 +49,10 @@ void los_vfs_init(void) ...@@ -49,8 +49,10 @@ void los_vfs_init(void)
return; return;
} }
#ifdef LOSCFG_FS_FAT_DISK
spin_lock_init(&g_diskSpinlock); spin_lock_init(&g_diskSpinlock);
spin_lock_init(&g_diskFatBlockSpinlock); spin_lock_init(&g_diskFatBlockSpinlock);
#endif
files_initlist(&tg_filelist); files_initlist(&tg_filelist);
fs_initialize(); fs_initialize();
if ((err = inode_reserve("/", &g_root_inode)) < 0) { if ((err = inode_reserve("/", &g_root_inode)) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册