aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/os_openbsd_syscall1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/os_openbsd_syscall1.go')
-rw-r--r--src/runtime/os_openbsd_syscall1.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime/os_openbsd_syscall1.go b/src/runtime/os_openbsd_syscall1.go
index b0bef4c504..f37da04194 100644
--- a/src/runtime/os_openbsd_syscall1.go
+++ b/src/runtime/os_openbsd_syscall1.go
@@ -13,3 +13,8 @@ func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort
func thrwakeup(ident uintptr, n int32) int32
func osyield()
+
+//go:nosplit
+func osyield_no_g() {
+ osyield()
+}