diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-01-27 22:33:34 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-01-27 22:34:47 +0100 |
commit | e6acefa2ddd445e7e13aa89ced6d184a08ad8da6 (patch) | |
tree | 963add8ce9b30835eab0c01dbd1e68f9c145dfb5 /libc/sysdeps/linux/nios2/vfork.S | |
parent | 61cf47568f3f81589cc4462945832c18ec3af410 (diff) |
nios2: allow to build toolchain
At least allow to compile a toolchain targeting nios2 without MMU.
Diffstat (limited to 'libc/sysdeps/linux/nios2/vfork.S')
-rw-r--r-- | libc/sysdeps/linux/nios2/vfork.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/nios2/vfork.S b/libc/sysdeps/linux/nios2/vfork.S index 5d61db030..2aee81e6c 100644 --- a/libc/sysdeps/linux/nios2/vfork.S +++ b/libc/sysdeps/linux/nios2/vfork.S @@ -12,9 +12,7 @@ #include <sys/syscall.h> -#ifndef __NR_vfork -#define __NR_vfork __NR_fork /* uClinux-2.0 only has fork which is vfork */ -#endif +#define __NR_vfork 1071 .text .global __vfork |