x86: Fix build breakage in 64-bit xnarch_leave_root
PATCH 1/1 x86: Fix build breakage in 64-bit xnarch_leave_root
Signed-off-by Jan Kiszka <[email protected]>
--- include/asm-x86/bits/pod_64.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-x86/bits/pod_64.h +1 -1
@@ -42,7 +42,7 @@ static inline void xnarch_leave_root(xnarchtcb_t *rootcb) rootcb->user_task = rootcb->active_task = current; rootcb->rspp = ¤t->thread.sp; rootcb->ripp = ¤t->thread.rip; - rootcb->ts_usedfpu = !!wrap_test_fpu_used (current) + rootcb->ts_usedfpu = !!wrap_test_fpu_used (current); rootcb->cr0_ts = (read_cr0 () &8 ) !=0 ;/* So that xnarch_save_fpu() will operate on the right FPU area. */ if (rootcb->cr0_ts || rootcb->ts_usedfpu)
Signature · 1 line
1.7.3.4
Philippe Gerum
AppliedQuoted 11 lines · Jan Kiszka
Signed-off-by Jan Kiszka <[email protected]>--- include/asm-x86/bits/pod_64.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)include/asm-x86/bits/pod_64.h +0
-0
include/asm-x86/bits/pod_64.h static inline void xnarch_leave_root(xnarchtcb_t *rootcb) · line 48
Quoted 8 lines
include/asm-x86/bits/pod_64.h +1
-1@@ -42,7 +42,7 @@ static inline void xnarch_leave_root(xnarchtcb_t *rootcb) rootcb->user_task = rootcb->active_task = current; rootcb->rspp = ¤t->thread.sp; rootcb->ripp = ¤t->thread.rip; - rootcb->ts_usedfpu = !!wrap_test_fpu_used (current) + rootcb->ts_usedfpu = !!wrap_test_fpu_used (current); rootcb->cr0_ts = (read_cr0 () &8 ) !=0 ;/* So that xnarch_save_fpu() will operate on the right FPU area. */ if (rootcb->cr0_ts || rootcb->ts_usedfpu)
Merged, thanks.
Signature · 1 line
Philippe.