diff options
author | Avi Kivity <avi@redhat.com> | 2008-11-12 13:48:01 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-11-12 13:48:01 +0200 |
commit | dc3ac92c0cd66afcfb5956f8342e2a0c65366d04 (patch) | |
tree | c511d9445f05082baa90272b6b356ab8a1341d14 | |
parent | 508a0cdfd55923dbeed87744c8c6fd4567aa4291 (diff) |
Fix type clobbering cpuid ext2kvm-79
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 51f571c5f..a18dd20a2 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1468,7 +1468,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, /* svm */ *ecx &= ~4UL; /* 3dnow */ - *edx = ~0xc0000000; + *edx &= ~0xc0000000; } break; case 0x80000002: |