Re: Linux 2.6.16-rc3

From: Yoichi Yuasa
Date: Mon Feb 13 2006 - 04:05:46 EST


Hi Jan

On Mon, 13 Feb 2006 09:46:56 +0100
Jan Dittmer <jdi@xxxxxxx> wrote:

> Linus Torvalds wrote:
> > The most user-visible one (eventually) is the unshare() system call, which
> > glibc wanted. Along with some fixes for fstatat() (use the proper 64-bit
> > interfaces, not the "newer old" one).
>
> This breaks compilation on 3 archs compared to -rc2:
>
> - mips: broke
> AR arch/mips/lib-32/lib.a
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/mips/kernel/built-in.o(.text+0x9820): In function `einval':
> /usr/src/ctest/rc/kernel/arch/mips/kernel/scall32-o32.S: undefined reference to `sys_newfstatat'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [cdbuilddir] Error 2
>
>
> Details: http://l4x.org/k/?d=10888

MIPS 32bit machines need fstatat64 support.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx>

diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S
index d7c4a38..d83e033 100644
--- a/arch/mips/kernel/scall32-o32.S
+++ b/arch/mips/kernel/scall32-o32.S
@@ -623,7 +623,7 @@ einval: li v0, -EINVAL
sys sys_mknodat 4 /* 4290 */
sys sys_fchownat 5
sys sys_futimesat 3
- sys sys_newfstatat 4
+ sys sys_fstatat64 4
sys sys_unlinkat 3
sys sys_renameat 4 /* 4295 */
sys sys_linkat 4
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/