From 22d89ef5cb7f3321bc7147b130fcff9f083a8aab Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Wed, 11 Mar 2020 12:00:28 -0700 Subject: 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 --- pkg/sentry/platform/kvm/bluepill_arm64_unsafe.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/sentry/platform/kvm') 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" ) -- cgit v1.2.3