mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user