summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-17 00:51:53 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-17 00:51:53 +0000
commite8a4b87a04d072161cea917240efd836e6e8beb9 (patch)
treeb61c222baba7b972bc1eb9fa23a9d015bec12636 /libc/sysdeps/linux/arm/bits
parent13b3d999f77cf936f139d0f7df20b6151ad66ea9 (diff)
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
Diffstat (limited to 'libc/sysdeps/linux/arm/bits')
-rw-r--r--libc/sysdeps/linux/arm/bits/kernel_stat.h18
1 files changed, 2 insertions, 16 deletions
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 */