[PATCH] Fix __kernel_ino_t for mips64 N64 ABI

Atsushi Nemoto anemo at mba.ocn.ne.jp
Wed Jul 5 14:34:47 UTC 2006


The kernel include/asm-mips/posix_types.h defines __kernel_ino_t as
unsigned long.

diff -urNp uClibc-20060611/libc/sysdeps/linux/mips/bits/kernel_types.h uClibc/libc/sysdeps/linux/mips/bits/kernel_types.h
--- uClibc-20060611/libc/sysdeps/linux/mips/bits/kernel_types.h	2006-06-11 16:11:24.000000000 +0900
+++ uClibc/libc/sysdeps/linux/mips/bits/kernel_types.h	2006-07-05 22:04:44.000000000 +0900
@@ -9,7 +9,7 @@
 
 # if __WORDSIZE == 64
 typedef unsigned int	__kernel_dev_t;
-typedef unsigned int	__kernel_ino_t;
+typedef unsigned long	__kernel_ino_t;
 typedef unsigned int	__kernel_mode_t;
 typedef unsigned int	__kernel_nlink_t;
 typedef long		__kernel_off_t;



More information about the uClibc mailing list