From b80f4cbc3345ad7211f75e75e08c9978cb3fc1e8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 22 Feb 2006 09:37:12 +0000 Subject: Make use of bits/sched.h --- libc/sysdeps/linux/ia64/vfork.S | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libc/sysdeps/linux/ia64') diff --git a/libc/sysdeps/linux/ia64/vfork.S b/libc/sysdeps/linux/ia64/vfork.S index ab29f6287..73ad4df65 100644 --- a/libc/sysdeps/linux/ia64/vfork.S +++ b/libc/sysdeps/linux/ia64/vfork.S @@ -20,11 +20,8 @@ #include "sysdep.h" #define _SIGNAL_H #include - -/* The following are defined in linux/sched.h, which unfortunately */ -/* is not safe for inclusion in an assembly file. */ -#define CLONE_VM 0x00000100 /* set if VM shared between processes */ -#define CLONE_VFORK 0x00004000 /* set if the parent wants the child to wake it up on mm_release */ +#define _SCHED_H +#include /* pid_t vfork(void); */ /* Implemented as __clone_syscall(CLONE_VFORK | CLONE_VM | SIGCHLD, 0) */ -- cgit v1.2.3