summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc/_mmap.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-06-15 01:08:45 +0000
committerEric Andersen <andersen@codepoet.org>2003-06-15 01:08:45 +0000
commita8d9ee1f663268a01583923a792d5ede5cd4a0f8 (patch)
tree5147aae4184ca0870065fe5bd9f976dc5fbe138d /libc/sysdeps/linux/powerpc/_mmap.c
parent5f9e364ca5cd244b4ccd63dd2954108bba1f7853 (diff)
Implement syscall() for powerpc. Fixup syscall code so
it compiles properly with gcc 3.3. -Erik
Diffstat (limited to 'libc/sysdeps/linux/powerpc/_mmap.c')
-rw-r--r--libc/sysdeps/linux/powerpc/_mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/powerpc/_mmap.c b/libc/sysdeps/linux/powerpc/_mmap.c
index 350f4c49e..ec4bfd1f9 100644
--- a/libc/sysdeps/linux/powerpc/_mmap.c
+++ b/libc/sysdeps/linux/powerpc/_mmap.c
@@ -5,7 +5,7 @@
#include <sys/syscall.h>
#define __syscall_clobbers \
- "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12"
+ "r9", "r10", "r11", "r12"
#define __syscall_return(type) \
return (__sc_err & 0x10000000 ? errno = __sc_ret, __sc_ret = -1 : 0), \
(type) __sc_ret