aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagealloc_64bit.go
diff options
context:
space:
mode:
authorJoel Sing <joel@sing.id.au>2020-01-23 03:42:07 +1100
committerJoel Sing <joel@sing.id.au>2020-01-23 14:36:57 +0000
commit82a2f825b7163eafebbf9b8640ef6406e4dda9a9 (patch)
treee1678c325465dff3bac1dba15ded5a91e6724e08 /src/runtime/mpagealloc_64bit.go
parent9f07cdd99ee70b90e2a5fe998acb48c5fc6e39f2 (diff)
downloadgo-82a2f825b7163eafebbf9b8640ef6406e4dda9a9.tar.xz
runtime: add missing code for linux/riscv64
Makes linux/riscv64 runtime buildable. Updates #27532 Change-Id: I91bcadaaecb8ff3ffd70fcb437b2b6e4bbe11eda Reviewed-on: https://go-review.googlesource.com/c/go/+/215839 Run-TryBot: Joel Sing <joel@sing.id.au> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/mpagealloc_64bit.go')
-rw-r--r--src/runtime/mpagealloc_64bit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/mpagealloc_64bit.go b/src/runtime/mpagealloc_64bit.go
index 86883bef35..0b475ed206 100644
--- a/src/runtime/mpagealloc_64bit.go
+++ b/src/runtime/mpagealloc_64bit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build amd64 !darwin,arm64 mips64 mips64le ppc64 ppc64le s390x
+// +build amd64 !darwin,arm64 mips64 mips64le ppc64 ppc64le riscv64 s390x
// See mpagealloc_32bit.go for why darwin/arm64 is excluded here.