aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r--src/runtime/runtime.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go
index 33ecc260dd..2cf93abefa 100644
--- a/src/runtime/runtime.go
+++ b/src/runtime/runtime.go
@@ -13,7 +13,9 @@ import (
//go:generate go run mkduff.go
//go:generate go run mkfastlog2table.go
-var ticks struct {
+var ticks ticksType
+
+type ticksType struct {
lock mutex
pad uint32 // ensure 8-byte alignment of val on 386
val uint64