summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/fpu/fpu_arm64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/arch/fpu/fpu_arm64.go')
-rw-r--r--pkg/sentry/arch/fpu/fpu_arm64.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/arch/fpu/fpu_arm64.go b/pkg/sentry/arch/fpu/fpu_arm64.go
index d2f62631d..46634661f 100644
--- a/pkg/sentry/arch/fpu/fpu_arm64.go
+++ b/pkg/sentry/arch/fpu/fpu_arm64.go
@@ -58,6 +58,8 @@ func (s *State) Fork() State {
}
// BytePointer returns a pointer to the first byte of the state.
+//
+//go:nosplit
func (s *State) BytePointer() *byte {
return &(*s)[0]
}