summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-12-15 00:29:17 +0000
committerRoland McGrath <roland@gnu.org>1994-12-15 00:29:17 +0000
commitb8bff17a05f240a5b56ce010081cfbbfa3dd2a28 (patch)
tree2d3ec4bf45fed53b1472986d528a59b3ee482eb4
parent48c97a06387c56ca239b90c0bbf84fef2323abca (diff)
Use subl instead of decl.
-rw-r--r--sysdeps/unix/fork.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/fork.S b/sysdeps/unix/fork.S
index 4e6263d7db..35f32a64bb 100644
--- a/sysdeps/unix/fork.S
+++ b/sysdeps/unix/fork.S
@@ -18,13 +18,13 @@ Cambridge, MA 02139, USA. */
#include <sysdep.h>
-/* This code works for both m68k and i386. */
+/* This code works for at least m68k. */
SYSCALL__ (fork, 0)
/* R1 is now 0 for the parent and 1 for the child. Decrement it to
make it -1 (all bits set) for the parent, and 0 (no bits set)
for the child. Then AND it with R0, so the parent gets
R0&-1==R0, and the child gets R0&0==0. */
- decl r1
+ subl r1, #1
andl r1, r0
ret