From 8542dc07643d048dd932673aeb99697017268b4f Mon Sep 17 00:00:00 2001 From: "Devon H. O'Dell" Date: Wed, 22 Feb 2012 11:04:25 +0900 Subject: [PATCH] runtime: use SYSCALL instead of INT 0x80 in FreeBSD's runtime.osyield on amd64 R=mikioh.mikioh, rsc CC=golang-dev https://golang.org/cl/5690062 --- src/pkg/runtime/sys_freebsd_amd64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/runtime/sys_freebsd_amd64.s b/src/pkg/runtime/sys_freebsd_amd64.s index b14b66556cf..fbed690d185 100644 --- a/src/pkg/runtime/sys_freebsd_amd64.s +++ b/src/pkg/runtime/sys_freebsd_amd64.s @@ -231,5 +231,5 @@ TEXT runtime·sysctl(SB),7,$0 TEXT runtime·osyield(SB),7,$-4 MOVL $331, AX // sys_sched_yield - INT $0x80 + SYSCALL RET