[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 01/14] kvm: remove fop write only variable
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 01/14] kvm: remove fop write only variable |
Date: |
Thu, 2 Jun 2011 13:53:36 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
target-i386/kvm.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index faedc6c..58a70bc 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -970,7 +970,7 @@ static int kvm_get_xsave(CPUState *env)
#ifdef KVM_CAP_XSAVE
struct kvm_xsave* xsave;
int ret, i;
- uint16_t cwd, swd, twd, fop;
+ uint16_t cwd, swd, twd;
if (!kvm_has_xsave()) {
return kvm_get_fpu(env);
@@ -986,7 +986,6 @@ static int kvm_get_xsave(CPUState *env)
cwd = (uint16_t)xsave->region[0];
swd = (uint16_t)(xsave->region[0] >> 16);
twd = (uint16_t)xsave->region[1];
- fop = (uint16_t)(xsave->region[1] >> 16);
env->fpstt = (swd >> 11) & 7;
env->fpus = swd;
env->fpuc = cwd;
--
1.7.5.2
- [Qemu-devel] [PATCH 00/14] More gcc 4.6 warnings fixes, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 01/14] kvm: remove fop write only variable,
Juan Quintela <=
- [Qemu-devel] [PATCH 02/14] tcg: define and set call_type only when it is used, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 04/14] xen: pentry is not used in this function, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 03/14] flatload: memp was a write-only variable, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 06/14] flatload: end_code was only used in a debug message, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 05/14] linuxload: id_change was a write only variable, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 07/14] alpha: fn2 was a write only variable, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 08/14] syscall: really return ret code, Juan Quintela, 2011/06/02