Index: src/runtime/asm_mips64x.s
--- src/runtime/asm_mips64x.s.orig
+++ src/runtime/asm_mips64x.s
@@ -470,9 +470,12 @@ TEXT ·cgocallback(SB),NOSPLIT,$24-24
 	NO_LOCAL_POINTERS
 
 	// Load m and g from thread-local storage.
+#ifndef GOOS_openbsd
 	MOVB	runtime·iscgo(SB), R1
 	BEQ	R1, nocgo
+#endif
 	JAL	runtime·load_g(SB)
+
 nocgo:
 
 	// If g is nil, Go did not create the current thread.
