summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/m88k/sys/tfork_thread.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/arch/m88k/sys/tfork_thread.S b/lib/libc/arch/m88k/sys/tfork_thread.S
index 2ffdb89fe11..e8ba8289291 100644
--- a/lib/libc/arch/m88k/sys/tfork_thread.S
+++ b/lib/libc/arch/m88k/sys/tfork_thread.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: tfork_thread.S,v 1.6 2020/10/18 14:28:18 deraadt Exp $ */
+/* $OpenBSD: tfork_thread.S,v 1.7 2020/11/07 02:52:08 aoyama Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -27,6 +27,8 @@
#include "SYS.h"
+#define NOP or %r0, %r0, %r0
+
/*
* int __tfork_thread(const struct __tfork *param, size_t psize, void (*func)(void *), void *arg);
*/
@@ -51,6 +53,6 @@ ENTRY(__tfork_thread)
or %r13, %r0, __SYSCALLNAME(SYS_,__threxit)
tb0 0, %r0, 450
- nop
+ NOP
tb0 0, %r0, 130 /* breakpoint */
END(__tfork_thread)