diff --git a/components/dfs/filesystems/jffs2/src/fs-ecos.c b/components/dfs/filesystems/jffs2/src/fs-ecos.c index fcc891d73d1ff316c88c5e04cfab0800c2e6ff18..00d99d76de2781ecbc8d64c817a25ffa719c35bf 100755 --- a/components/dfs/filesystems/jffs2/src/fs-ecos.c +++ b/components/dfs/filesystems/jffs2/src/fs-ecos.c @@ -1161,7 +1161,7 @@ static int jffs2_fo_write(struct CYG_FILE_TAG *fp, struct CYG_UIO_TAG *uio) struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb); int i; -#if (LOSCFG_KERNEL_SMP == YES) +#ifdef LOSCFG_KERNEL_SMP struct super_block *sb = inode->i_sb; UINT16 gc_cpu_mask = LOS_TaskCpuAffiGet(sb->s_gc_thread); UINT32 cur_task_id = LOS_CurTaskIDGet();