diff options
author | Andreas Schwab <schwab@suse.de> | 2003-01-10 14:09:38 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2003-01-10 14:09:38 +0000 |
commit | c2918f01e1a560383964696e410e2aa2ae4209f7 (patch) | |
tree | d2ab9eb0b60c195c1d13cfa0378a44941a02a335 /sysdeps/unix/sysv | |
parent | b2222ac61c7bfa221fc9ca88a48940af75016ed2 (diff) | |
download | glibc-c2918f01e1a560383964696e410e2aa2ae4209f7.tar glibc-c2918f01e1a560383964696e410e2aa2ae4209f7.tar.gz glibc-c2918f01e1a560383964696e410e2aa2ae4209f7.tar.bz2 glibc-c2918f01e1a560383964696e410e2aa2ae4209f7.zip |
* sysdeps/unix/sysv/linux/m68k/vfork.S: Optimize for kernels which
are known to have the vfork syscall.
* sysdeps/m68k/sysdep.h (JUMPTARGET): Undefine before defining it.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_MMAP2_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL)
(__ASSUME_STAT64_SYSCALL, __ASSUME_FCNTL64)
(__ASSUME_VFORK_SYSCALL): Define for m68k kernels >= 2.4.12.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index c93ab35c12..6b1bdf2517 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -240,3 +240,12 @@ #if __LINUX_KERNEL_VERSION >= 132402 && defined __i386__ # define __ASSUME_CLONE_THREAD_FLAGS 1 #endif + +/* These features were surely available with 2.4.12. */ +#if __LINUX_KERNEL_VERSION >= 132108 && defined __mc68000__ +# define __ASSUME_MMAP2_SYSCALL 1 +# define __ASSUME_TRUNCATE64_SYSCALL 1 +# define __ASSUME_STAT64_SYSCALL 1 +# define __ASSUME_FCNTL64 1 +# define __ASSUME_VFORK_SYSCALL 1 +#endif |