|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86: i387.c cleanup
commit e7b62fcfd9dd66398dd0d3c79b3bae216db64e97
Author: Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Wed Mar 6 10:19:57 2024 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Mar 6 10:19:57 2024 +0100
x86: i387.c cleanup
Spelling and formatting; no functional change.
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Signed-off-by: Fouad Hilly <fouad.hilly@xxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
xen/arch/x86/i387.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xen/arch/x86/i387.c b/xen/arch/x86/i387.c
index d824f2bb52..7a4297cc92 100644
--- a/xen/arch/x86/i387.c
+++ b/xen/arch/x86/i387.c
@@ -26,7 +26,7 @@ static inline void fpu_xrstor(struct vcpu *v, uint64_t mask)
ASSERT(v->arch.xsave_area);
/*
- * XCR0 normally represents what guest OS set. In case of Xen itself,
+ * XCR0 normally represents what guest OS set. In case of Xen itself,
* we set the accumulated feature mask before doing save/restore.
*/
ok = set_xcr0(v->arch.xcr0_accum | XSTATE_FP_SSE);
@@ -36,7 +36,7 @@ static inline void fpu_xrstor(struct vcpu *v, uint64_t mask)
ASSERT(ok);
}
-/* Restor x87 FPU, MMX, SSE and SSE2 state */
+/* Restore x87 FPU, MMX, SSE and SSE2 state */
static inline void fpu_fxrstor(struct vcpu *v)
{
const typeof(v->arch.xsave_area->fpu_sse) *fpu_ctxt = v->arch.fpu_ctxt;
@@ -307,7 +307,7 @@ void save_fpu_enable(void)
int vcpu_init_fpu(struct vcpu *v)
{
int rc;
-
+
v->arch.fully_eager_fpu = opt_eager_fpu;
if ( (rc = xstate_alloc_save_area(v)) != 0 )
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |