summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/seqatomic_parameters_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-11 18:59:03 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-11 18:59:03 +0000
commit4a40751d1128b1b7df3c8bed9c00834682d67c53 (patch)
tree76ea94211a65ee1365f49d2b4866753ad60770f7 /pkg/sentry/time/seqatomic_parameters_unsafe.go
parentb4312fa7cc07870284ea9dfbc5bcc55cf3617ecb (diff)
parent831ab2dd993e834933e0b23310cd616dbc0551ad (diff)
Merge release-20200907.0-32-g831ab2dd9 (automated)
Diffstat (limited to 'pkg/sentry/time/seqatomic_parameters_unsafe.go')
-rw-r--r--pkg/sentry/time/seqatomic_parameters_unsafe.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/sentry/time/seqatomic_parameters_unsafe.go b/pkg/sentry/time/seqatomic_parameters_unsafe.go
index 88d6b5569..14978ed91 100644
--- a/pkg/sentry/time/seqatomic_parameters_unsafe.go
+++ b/pkg/sentry/time/seqatomic_parameters_unsafe.go
@@ -1,11 +1,12 @@
package time
import (
+ "strings"
+ "unsafe"
+
"fmt"
"gvisor.dev/gvisor/pkg/sync"
"reflect"
- "strings"
- "unsafe"
)
// SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race