Commit 1fbe3090 authored by Mikio Hara's avatar Mikio Hara

runtime: fix madvise for freebsd/amd64

Make use of carry clear condition instead of low or same.

R=minux.ma, jsing, dave
CC=golang-dev
https://golang.org/cl/6844080
parent 74fcf82d
......@@ -190,8 +190,7 @@ TEXT runtime·madvise(SB),7,$0
MOVQ 24(SP), DX
MOVQ $75, AX // madvise
SYSCALL
CMPQ AX, $0xfffffffffffff001
JLS 2(PC)
JCC 2(PC)
MOVL $0xf1, 0xf1 // crash
RET
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment