summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-26 21:12:34 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-26 21:12:34 +0000
commit4aa99ce0cca8538fb9bc0338ce270ecbfbbcd33b (patch)
treeff2b5d8f55ab34715f27cd8c534e316b29630f2e /pkg/sentry/kernel
parentbb2860ab159d523f6af5e24d11e156aebea22891 (diff)
parent7206202bb9439499a084a90dd885ef77f51186aa (diff)
Merge 7206202b (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rwxr-xr-xpkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go
index 895abb129..be6b07629 100755
--- a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go
+++ b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go
@@ -1,12 +1,11 @@
package kernel
import (
- "unsafe"
-
"fmt"
"gvisor.dev/gvisor/third_party/gvsync"
"reflect"
"strings"
+ "unsafe"
)
// SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race