summaryrefslogtreecommitdiffhomepage
path: root/pkg/ring0/kernel_arm64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-09 17:15:06 -0700
committergVisor bot <gvisor-bot@google.com>2021-04-09 17:15:06 -0700
commit7420821a7b5fe15f3666bb4971796cd45fc5ff38 (patch)
treee589b5c862322dd86a1d0ebee93c0bb5c2710e3b /pkg/ring0/kernel_arm64.go
parentdc8f6c6914747c700a629b7717e45759cf1f7650 (diff)
parenteb9b8e53a3ef7bb96dcb59a0121fa9ed22f01bfd (diff)
Merge pull request #5767 from avagin:mxcsr
PiperOrigin-RevId: 367730917
Diffstat (limited to 'pkg/ring0/kernel_arm64.go')
-rw-r--r--pkg/ring0/kernel_arm64.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/ring0/kernel_arm64.go b/pkg/ring0/kernel_arm64.go
index 0496c40b4..21db910a2 100644
--- a/pkg/ring0/kernel_arm64.go
+++ b/pkg/ring0/kernel_arm64.go
@@ -89,3 +89,9 @@ func (c *CPU) SwitchToUser(switchOpts SwitchOpts) (vector Vector) {
return
}
+
+// RestoreKernelFPState restores the Sentry floating point state.
+//
+//go:nosplit
+func RestoreKernelFPState() {
+}