summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-11 21:39:47 +0000
committergVisor bot <gvisor-bot@google.com>2019-06-11 21:39:47 +0000
commitcec05f7aae67555a87d5ff2c1e55f5a061247712 (patch)
tree712cad12747aefc00d7b1bc7ef4d1c4aa36e1617 /pkg/sentry/kernel
parent63aba2685e8f80983b55f9d881b8a8ee8ffe282c (diff)
parent847c4b9759c49cb30728579cfb0f4a69f1987b94 (diff)
Merge 847c4b97 (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rwxr-xr-xpkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
index 532b33b9e..580fd9d86 100755
--- a/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
+++ b/pkg/sentry/kernel/seqatomic_taskgoroutineschedinfo.go
@@ -1,11 +1,12 @@
package kernel
import (
+ "strings"
+ "unsafe"
+
"fmt"
"gvisor.googlesource.com/gvisor/third_party/gvsync"
"reflect"
- "strings"
- "unsafe"
)
// SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race