summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-20 17:26:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-20 17:26:51 +0000
commit039fefad93deee41292caff324f78ff1e74b437d (patch)
treebb18329e674c10c3ba4c027f1ba0028c1974c40f /libc/sysdeps/linux/m68k
parentb593d7dc2b12b84c3d4eabfe7c5bd1ed47d6d4b0 (diff)
Nobody should be using the SYS_ syscall names. Use the __NR_<foo>
names instead. -Erik
Diffstat (limited to 'libc/sysdeps/linux/m68k')
-rw-r--r--libc/sysdeps/linux/m68k/crt0.S2
-rw-r--r--libc/sysdeps/linux/m68k/ptrace.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/m68k/crt0.S b/libc/sysdeps/linux/m68k/crt0.S
index e7de07322..182e8baea 100644
--- a/libc/sysdeps/linux/m68k/crt0.S
+++ b/libc/sysdeps/linux/m68k/crt0.S
@@ -41,7 +41,7 @@ _start: /* put here so that references to _start work with elf-PIC */
/* If that didn't kill us, ... */
__exit:
move.l %sp@+,%d1
- moveq #1,%d0 /* SYS_exit */
+ moveq #1,%d0 /* __NR_exit */
trap #0
/*
diff --git a/libc/sysdeps/linux/m68k/ptrace.c b/libc/sysdeps/linux/m68k/ptrace.c
index a82adc765..423be05e2 100644
--- a/libc/sysdeps/linux/m68k/ptrace.c
+++ b/libc/sysdeps/linux/m68k/ptrace.c
@@ -18,7 +18,7 @@ ptrace(int request, int pid, int addr, int data)
"trap #0\n\t"
"movel %/d0,%0"
:"=g" (res)
- :"i" (SYS_ptrace), "g" (request), "g" (pid),
+ :"i" (__NR_ptrace), "g" (request), "g" (pid),
"g" (addr), "g" (data) : "%d0", "%d1", "%d2", "%d3", "%d4");
if (res >= 0) {