[Yaffs] build yaffs for kernel 3.0 fail

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Lei Wen
Date:  
To: yaffs
Subject: [Yaffs] build yaffs for kernel 3.0 fail
Hi,

Is anyone get the 3.0 kernel yaffs build succeed?
The error message I got is like:
fs/yaffs2/yaffs_vfs.c:46:28: error: linux/smp_lock.h: No such file or directory
fs/yaffs2/yaffs_vfs.c: In function 'yaffs_read_super':
fs/yaffs2/yaffs_vfs.c:2383: error: implicit declaration of function
'get_sb_bdev'
fs/yaffs2/yaffs_vfs.c: At top level:
fs/yaffs2/yaffs_vfs.c:2390: error: unknown field 'get_sb' specified in
initializer
fs/yaffs2/yaffs_vfs.c:2390: warning: initialization makes integer from
pointer without a cast
fs/yaffs2/yaffs_vfs.c:2414: error: unknown field 'get_sb' specified in
initializer
fs/yaffs2/yaffs_vfs.c:2414: warning: initialization makes integer from
pointer without a cast

Any idea?

Thanks,
Lei