aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-27 02:45:47 +0000
committerRoland McGrath <roland@gnu.org>2003-03-27 02:45:47 +0000
commit8eed661a56099ba0d4f2e03958ac921d1ca40194 (patch)
treefd5210d06aa5e159f87cb513c9a37805f5326086 /sysdeps/unix/sysv/linux/kernel-features.h
parent18ef464b2fd20dcfdb57e1ad8eb86a912c874538 (diff)
downloadglibc-8eed661a56099ba0d4f2e03958ac921d1ca40194.tar
glibc-8eed661a56099ba0d4f2e03958ac921d1ca40194.tar.gz
glibc-8eed661a56099ba0d4f2e03958ac921d1ca40194.tar.bz2
glibc-8eed661a56099ba0d4f2e03958ac921d1ca40194.zip
2003-03-27 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): Define for kernel 2.4 on arm. * sysdeps/unix/sysv/linux/arm/vfork.S: Elide compatibility code when __ASSUME_VFORK_SYSCALL is defined. * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise for __ASSUME_MMAP2_SYSCALL. * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise for __ASSUME_REALTIME_SIGNALS.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index 06cc7f32bb..9909b75393 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -229,8 +229,8 @@
# define __ASSUME_SET_THREAD_AREA_SYSCALL 1
#endif
-/* The vfork syscall on x86 was definitely available in 2.4. */
-#if __LINUX_KERNEL_VERSION >= 132097 && defined __i386__
+/* The vfork syscall on x86 and arm was definitely available in 2.4. */
+#if __LINUX_KERNEL_VERSION >= 132097 && (defined __i386__ || defined __arm__)
# define __ASSUME_VFORK_SYSCALL 1
#endif