summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-29 18:03:29 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-29 18:03:29 +0000
commit6a422755602daeaef4be60969c1acddc8b7b3041 (patch)
tree5d27f2afe4fbe83ddb8bb612b0631e9c9d4da9d3 /pkg/sentry/arch
parent9cecf76d42ee48bf2314d3ce5aeb86a2029516cc (diff)
parentb125afba416ebeba906ea595a44a55afe4729d64 (diff)
Merge release-20210322.0-28-gb125afba4 (automated)
Diffstat (limited to 'pkg/sentry/arch')
-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]
}