summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-09 21:10:15 +0000
committergVisor bot <gvisor-bot@google.com>2019-09-09 21:10:15 +0000
commitda79874fe7158968fe0d3124aa8e45a6b9688bbb (patch)
treed2a30bfc7b1112b7817ab62a563124ccbae1adb2 /pkg/sentry/kernel
parent007f4b68f3142ca721a4017e62599d85fa9bad56 (diff)
parent9dfcd8b09fceff830c880065db66821e53c500b0 (diff)
Merge 9dfcd8b0 (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rwxr-xr-xpkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go
index 24528b66a..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 (
- "strings"
- "unsafe"
-
"fmt"
"gvisor.dev/gvisor/third_party/gvsync"
"reflect"
+ "strings"
+ "unsafe"
)
// SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race