summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-18 23:30:07 +0000
committergVisor bot <gvisor-bot@google.com>2019-06-18 23:30:07 +0000
commitfe02d61477607e40f3d41a654655cd693a538847 (patch)
treecafb59a5b58b8a0bb9fe5a8e91985422be19c674 /pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
parent32848221a9de1a6fd7fcc4ef4fb881cf8fe2489c (diff)
parent546b2948cb4304a99b0d719d5a99dcb7edaace18 (diff)
Merge 546b2948 (automated)
Diffstat (limited to 'pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go')
-rwxr-xr-xpkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
index c284a1b11..be6b07629 100755
--- a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
+++ b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
@@ -1,12 +1,11 @@
package kernel
import (
+ "fmt"
+ "gvisor.dev/gvisor/third_party/gvsync"
"reflect"
"strings"
"unsafe"
-
- "fmt"
- "gvisor.dev/gvisor/third_party/gvsync"
)
// SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race