1
0
mirror of https://github.com/golang/go synced 2024-11-21 16:44:43 -07:00

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
This commit is contained in:
Devon H. O'Dell 2012-02-22 11:04:25 +09:00 committed by Mikio Hara
parent 43cfbb0fb5
commit 8542dc0764

View File

@ -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