aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-01-10 14:09:38 +0000
committerAndreas Schwab <schwab@suse.de>2003-01-10 14:09:38 +0000
commitc2918f01e1a560383964696e410e2aa2ae4209f7 (patch)
treed2ab9eb0b60c195c1d13cfa0378a44941a02a335 /sysdeps/unix/sysv
parentb2222ac61c7bfa221fc9ca88a48940af75016ed2 (diff)
downloadglibc-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.h9
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