mirror of
https://github.com/golang/go
synced 2024-11-21 23:24:41 -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:
parent
43cfbb0fb5
commit
8542dc0764
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user