From: Kyle McMartin If we don't want sys_newfstatat because __ARCH_WANT_STAT64 is defined, then we certainly don't want compat_sys_newfstatat either. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin Signed-off-by: Andrew Morton --- fs/compat.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN fs/compat.c~conditionalize-compat_sys_newfstatat fs/compat.c --- devel/fs/compat.c~conditionalize-compat_sys_newfstatat 2006-02-14 21:10:30.000000000 -0800 +++ devel-akpm/fs/compat.c 2006-02-14 21:10:30.000000000 -0800 @@ -114,6 +114,7 @@ asmlinkage long compat_sys_newlstat(char return error; } +#ifndef __ARCH_WANT_STAT64 asmlinkage long compat_sys_newfstatat(unsigned int dfd, char __user *filename, struct compat_stat __user *statbuf, int flag) { @@ -134,6 +135,7 @@ asmlinkage long compat_sys_newfstatat(un out: return error; } +#endif asmlinkage long compat_sys_newfstat(unsigned int fd, struct compat_stat __user * statbuf) _