summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-12 20:40:07 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-12 20:40:07 +0000
commitf626b3a1c36d7553dc39cc90364b5fcd317860c9 (patch)
treece8b3553e567c9e5015e925db2ab3baeb832e784 /pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go
parent30bbd43c6dc26ce67f08b23d6de308bc689f10e4 (diff)
parenteac690e358e25897bb878fdfd1ad7036054162e2 (diff)
Merge eac690e3 (automated)
Diffstat (limited to 'pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo_unsafe.go')
-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