summaryrefslogtreecommitdiffhomepage
path: root/pkg/atomicbitops/aligned_64bit.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/atomicbitops/aligned_64bit.go')
-rw-r--r--pkg/atomicbitops/aligned_64bit.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/atomicbitops/aligned_64bit.go b/pkg/atomicbitops/aligned_64bit.go
index 5898653d8..0f3da590f 100644
--- a/pkg/atomicbitops/aligned_64bit.go
+++ b/pkg/atomicbitops/aligned_64bit.go
@@ -23,6 +23,8 @@ import "sync/atomic"
// int64.
//
// See aligned_unsafe.go in this directory for justification.
+//
+// +stateify savable
type AlignedAtomicInt64 struct {
value int64
}
@@ -47,6 +49,8 @@ func (aa *AlignedAtomicInt64) Add(v int64) int64 {
// uint64.
//
// See aligned_unsafe.go in this directory for justification.
+//
+// +stateify savable
type AlignedAtomicUint64 struct {
value uint64
}