diff options
author | Andreas Jaeger <aj@suse.de> | 2001-05-20 11:56:03 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-05-20 11:56:03 +0000 |
commit | 7060e53ec7d97c4111ad4376f34dcbf596c9e25d (patch) | |
tree | 805ae1f3ddd2cd895c4b5bcb62489adaccb159f2 /sysdeps/unix/sysv | |
parent | d6e614debf46d4ea6c0bf70e800ec92669e362b0 (diff) | |
download | glibc-7060e53ec7d97c4111ad4376f34dcbf596c9e25d.tar glibc-7060e53ec7d97c4111ad4376f34dcbf596c9e25d.tar.gz glibc-7060e53ec7d97c4111ad4376f34dcbf596c9e25d.tar.bz2 glibc-7060e53ec7d97c4111ad4376f34dcbf596c9e25d.zip |
(__ASSUME_STD_AUXV): Define for linux >= 2.4.5 on powerpc. (__ASSUME_MMAP2_SYSCALL): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 2a94b8d380..38c40ad383 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -162,18 +162,20 @@ /* When did O_DIRECTORY became available? Early in 2.3 but when? Be safe, use 2.3.99. */ #if __LINUX_KERNEL_VERSION >= 131939 -# define __ASSUME_O_DIRECTORY 1 +# define __ASSUME_O_DIRECTORY 1 #endif /* Starting with one of the 2.4.0 pre-releases the Linux kernel passes up the page size information. */ #if __LINUX_KERNEL_VERSION >= 132097 -# define __ASSUME_AT_PAGESIZE 1 +# define __ASSUME_AT_PAGESIZE 1 #endif -/* Starting with 2.4.? kernels PPC passes the AUXV in the standard way. */ -#if __LINUX_KERNEL_VERSION >= (132096+99) && defined __powerpc__ -# define __ASSUME_STD_AUXV 1 +/* Starting with 2.4.5 kernels PPC passes the AUXV in the standard way + and the mmap2 syscall made it into the official kernel. */ +#if __LINUX_KERNEL_VERSION >= (132096+5) && defined __powerpc__ +# define __ASSUME_STD_AUXV 1 +# define __ASSUME_MMAP2_SYSCALL 1 #endif /* There are an infinite number of PA-RISC kernel versions numbered |