summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2020-03-11 12:00:28 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-11 12:01:46 -0700
commit22d89ef5cb7f3321bc7147b130fcff9f083a8aab (patch)
tree62e05e01e127a32092e8661511719a13a0f2092e /pkg/sentry
parentd3fa741fb539d16b271f1bed2bcd93e382b0b2e2 (diff)
Import "unsafe" in bluepill_arm64_unsafe.go
This fixes a compile time error: pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go:45:35: undefined: unsafe PiperOrigin-RevId: 300375687
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go b/pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go
index 195331383..eb5ed574e 100644
--- a/pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go
+++ b/pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go
@@ -17,6 +17,8 @@
package kvm
import (
+ "unsafe"
+
"gvisor.dev/gvisor/pkg/sentry/arch"
"gvisor.dev/gvisor/pkg/sentry/platform/ring0"
)