From e8a4b87a04d072161cea917240efd836e6e8beb9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 17 Jul 2005 00:51:53 +0000 Subject: rip out previous armeb old-stat abi compat code since arm linux opinion is that the old stat.h abi was for little endian only ... people should use this patch to fix their armeb kernels: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=863/1 --- libc/sysdeps/linux/arm/bits/kernel_stat.h | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'libc/sysdeps/linux/arm') diff --git a/libc/sysdeps/linux/arm/bits/kernel_stat.h b/libc/sysdeps/linux/arm/bits/kernel_stat.h index 732076a03..70d268c19 100644 --- a/libc/sysdeps/linux/arm/bits/kernel_stat.h +++ b/libc/sysdeps/linux/arm/bits/kernel_stat.h @@ -39,14 +39,7 @@ struct kernel_stat { /* see the notes in common/xstatconv.c about why we have these * funky funk unions here ... i blame the schools */ struct kernel_stat64 { -#if defined(__ARMEB__) - union { - unsigned short old_abi; - unsigned long long new_abi; - } st_dev; -#else unsigned long long st_dev; -#endif unsigned char __pad0[4]; #define _HAVE_STAT64___ST_INO @@ -56,21 +49,14 @@ struct kernel_stat64 { unsigned long st_uid; unsigned long st_gid; -#if defined(__ARMEB__) - union { - unsigned short old_abi; - unsigned long long new_abi; - } st_rdev; -#else unsigned long long st_rdev; -#endif unsigned char __pad3[4]; long long st_size; unsigned long st_blksize; #if defined(__ARMEB__) - unsigned long __pad_st_blocks; /* future possible st_blocks high bits */ - unsigned long st_blocks; /* Number 512-byte blocks allocated. */ + unsigned long __pad4; /* future possible st_blocks high bits */ + unsigned long st_blocks; /* Number 512-byte blocks allocated. */ #else unsigned long st_blocks; /* Number 512-byte blocks allocated. */ unsigned long __pad4; /* future possible st_blocks high bits */ -- cgit v1.2.3