about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-25 20:20:41 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-25 20:20:41 +0000
commitc5e38fac45176848d71f91eb01daa23c6f1a9886 (patch)
treeeb58a24de2c3e46c4e4686005f026b01b2c408ae /sysdeps/unix/sysv/linux/kernel-features.h
parentdcf56f424621f87405a5b1fcf46d5863fd7e9adc (diff)
downloadglibc-c5e38fac45176848d71f91eb01daa23c6f1a9886.tar.gz
glibc-c5e38fac45176848d71f91eb01daa23c6f1a9886.tar.xz
glibc-c5e38fac45176848d71f91eb01daa23c6f1a9886.zip
Updatte.
2001-04-25  Matthew Wilcox  <willy@ldl.fc.hp.com>

	* sysdeps/hppa/stackinfo.h: New file.
	* sysdeps/unix/sysv/linux/hppa/getdents64.c: New file.
	* sysdeps/unix/sysv/linux/hppa/mmap64.c: New file.
	* sysdeps/unix/sysv/linux/hppa/bits/resource.h: New file.
	* sysdeps/unix/sysv/linux/kernel-features.h: Add descriptions
	of PA kernel features.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 9dc2404019..f0311dfcb5 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -112,8 +112,7 @@
 
 /* Linux 2.3.39 introduced 32bit UID/GIDs and IPC64.  Some platforms had 32
    bit type all along.  */
-#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__ \
-    || defined __mips__ || defined __hppa__
+#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__ || defined __mips__
 # define __ASSUME_32BITUIDS		1
 # ifndef __powerpc__
 #  define __ASSUME_IPC64		1
@@ -169,3 +168,17 @@
 #if __LINUX_KERNEL_VERSION >= (132096+99) && defined __powerpc__
 # define __ASSUME_STD_AUXV	1
 #endif
+
+/* There are an infinite number of PA-RISC kernel versions numbered
+   2.4.0.  But they've not really been released as such.  We require
+   and expect the final version here.  */
+#ifdef __hppa__
+# define __ASSUME_32BITUIDS		1
+# define __ASSUME_TRUNCATE64_SYSCALL	1
+# define __ASSUME_MMAP2_SYSCALL		1
+# define __ASSUME_STAT64_SYSCALL	1
+# define __ASSUME_IPC64			1
+# define __ASSUME_ST_INO_64_BIT		1
+# define __ASSUME_FCNTL64		1
+# define __ASSUME_GETDENTS64_SYSCALL	1
+#endif