aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/defs_freebsd_amd64.go
diff options
context:
space:
mode:
authorYuval Pavel Zholkover <paulzhol@gmail.com>2018-04-19 17:52:14 +0300
committerIan Lance Taylor <iant@golang.org>2018-04-26 03:54:19 +0000
commit58c231f244feda52f66dd4692229f740d3c3b988 (patch)
tree259ecc152ab9109c2a13dfb3d113aeb39d35df92 /src/runtime/defs_freebsd_amd64.go
parent279b530d6822dd381c049f3c0b5a7ef677574e18 (diff)
downloadgo-58c231f244feda52f66dd4692229f740d3c3b988.tar.gz
go-58c231f244feda52f66dd4692229f740d3c3b988.zip
runtime: FreeBSD fast clock_gettime HPET timecounter support
This is a followup for CL 93156. Fixes #22942. Change-Id: Ic6e2de44011d041b91454353a6f2e3b0cf590060 Reviewed-on: https://go-review.googlesource.com/108095 Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/defs_freebsd_amd64.go')
-rw-r--r--src/runtime/defs_freebsd_amd64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/defs_freebsd_amd64.go b/src/runtime/defs_freebsd_amd64.go
index 4f470fcc38..c88c0c55c7 100644
--- a/src/runtime/defs_freebsd_amd64.go
+++ b/src/runtime/defs_freebsd_amd64.go
@@ -22,6 +22,7 @@ const (
_PROT_EXEC = 0x4
_MAP_ANON = 0x1000
+ _MAP_SHARED = 0x1
_MAP_PRIVATE = 0x2
_MAP_FIXED = 0x10