]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: use SYSCALL instead of INT 0x80 in FreeBSD's runtime.osyield on amd64
authorDevon H. O'Dell <devon.odell@gmail.com>
Wed, 22 Feb 2012 02:04:25 +0000 (11:04 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 22 Feb 2012 02:04:25 +0000 (11:04 +0900)
R=mikioh.mikioh, rsc
CC=golang-dev
https://golang.org/cl/5690062

src/pkg/runtime/sys_freebsd_amd64.s

index b14b66556cfb2e022daf596587ae31345893de97..fbed690d1851e3f1b18a6684f989f2e386e13afd 100644 (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