about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2016-11-07 13:26:27 -0800
committerSteve Ellcey <sellcey@caviumnetworks.com>2016-11-07 13:26:27 -0800
commit327792ce5709dd9f6cc8d15732c4af65705eff76 (patch)
tree6e63b78ff48efa302c34732cf1f798b6fc41be91 /sysdeps/unix/sysv/linux/sh
parentc74940f2a76ae112279871cdc0382c127a43f9de (diff)
downloadglibc-327792ce5709dd9f6cc8d15732c4af65705eff76.tar.gz
glibc-327792ce5709dd9f6cc8d15732c4af65705eff76.tar.xz
glibc-327792ce5709dd9f6cc8d15732c4af65705eff76.zip
Define __ASSUME_ST_INO_64_BIT on all platforms.
	* sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
	  __ASSUME_ST_INO_64_BIT as 0
	* sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
	* sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
	  over the code where __ASSUME_ST_INO_64_BIT is used.
	* sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/xstat64.c: Likewise.
	* sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sh')
-rw-r--r--sysdeps/unix/sysv/linux/sh/kernel-features.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/kernel-features.h b/sysdeps/unix/sysv/linux/sh/kernel-features.h
index c5240fafbd..ea4fdbc8bd 100644
--- a/sysdeps/unix/sysv/linux/sh/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/sh/kernel-features.h
@@ -44,6 +44,7 @@
 
 /* SH does not have a 64-bit inode field.  */
 #undef __ASSUME_ST_INO_64_BIT
+#define __ASSUME_ST_INO_64_BIT	0
 
 /* SH4 ABI does not really require argument alignment for 64-bits, but
    the kernel interface for p{read,write}64 adds a dummy long argument