diff options
Diffstat (limited to 'pkg/ring0/defs.go')
-rw-r--r-- | pkg/ring0/defs.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/ring0/defs.go b/pkg/ring0/defs.go index e8ce608ba..b6e2012e8 100644 --- a/pkg/ring0/defs.go +++ b/pkg/ring0/defs.go @@ -17,6 +17,7 @@ package ring0 import ( "gvisor.dev/gvisor/pkg/ring0/pagetables" "gvisor.dev/gvisor/pkg/sentry/arch" + "gvisor.dev/gvisor/pkg/sentry/arch/fpu" ) // Kernel is a global kernel object. @@ -96,7 +97,7 @@ type SwitchOpts struct { // FloatingPointState is a byte pointer where floating point state is // saved and restored. - FloatingPointState arch.FloatingPointData + FloatingPointState *fpu.State // PageTables are the application page tables. PageTables *pagetables.PageTables |