summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/arch/arch_state_x86.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-10 20:03:09 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-10 20:03:09 +0000
commit67f39205e6c7f53c1c8a54949582ddba4fe0b5ea (patch)
tree74f42d2a12d81fe33febbc290bb3139312656e4f /pkg/sentry/arch/arch_state_x86.go
parentb5f9846d3e3c7e4bdf02a94bc1514d1a8fa240dd (diff)
parent20840bfec087d45853e81d1ac34940f3b2fb920a (diff)
Merge release-20200127.0-107-g20840bf (automated)
Diffstat (limited to 'pkg/sentry/arch/arch_state_x86.go')
-rw-r--r--pkg/sentry/arch/arch_state_x86.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/arch/arch_state_x86.go b/pkg/sentry/arch/arch_state_x86.go
index d388ee9cf..e35c9214a 100644
--- a/pkg/sentry/arch/arch_state_x86.go
+++ b/pkg/sentry/arch/arch_state_x86.go
@@ -43,8 +43,8 @@ func (e ErrFloatingPoint) Error() string {
// and SSE state, so this is the equivalent XSTATE_BV value.
const fxsaveBV uint64 = cpuid.XSAVEFeatureX87 | cpuid.XSAVEFeatureSSE
-// afterLoad is invoked by stateify.
-func (s *State) afterLoad() {
+// afterLoadFPState is invoked by afterLoad.
+func (s *State) afterLoadFPState() {
old := s.x86FPState
// Recreate the slice. This is done to ensure that it is aligned