summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/seqatomic_parameters_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-08-26 21:12:34 +0000
committergVisor bot <gvisor-bot@google.com>2019-08-26 21:12:34 +0000
commit4aa99ce0cca8538fb9bc0338ce270ecbfbbcd33b (patch)
treeff2b5d8f55ab34715f27cd8c534e316b29630f2e /pkg/sentry/time/seqatomic_parameters_unsafe.go
parentbb2860ab159d523f6af5e24d11e156aebea22891 (diff)
parent7206202bb9439499a084a90dd885ef77f51186aa (diff)
Merge 7206202b (automated)
Diffstat (limited to 'pkg/sentry/time/seqatomic_parameters_unsafe.go')
-rwxr-xr-xpkg/sentry/time/seqatomic_parameters_unsafe.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/sentry/time/seqatomic_parameters_unsafe.go b/pkg/sentry/time/seqatomic_parameters_unsafe.go
index f6560d0bb..b4fb0a7f0 100755
--- a/pkg/sentry/time/seqatomic_parameters_unsafe.go
+++ b/pkg/sentry/time/seqatomic_parameters_unsafe.go
@@ -1,12 +1,11 @@
package time
import (
- "unsafe"
-
"fmt"
"gvisor.dev/gvisor/third_party/gvsync"
"reflect"
"strings"
+ "unsafe"
)
// SeqAtomicLoad returns a copy of *ptr, ensuring that the read does not race