diff options
author | Andrew Jones <drjones@redhat.com> | 2014-01-15 12:39:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-06 19:22:13 (GMT) |
commit | 1b755e49c15fb7475ce772f506d0288f182f6ba8 (patch) | |
tree | 9d4be748a68a8e55a1cde663659ec608eed9b362 /drivers/md/raid5.c | |
parent | 4a5804b8c293b23786b0743fc9c64b64f5099048 (diff) | |
download | linux-fsl-qoriq-1b755e49c15fb7475ce772f506d0288f182f6ba8.tar.xz |
kvm: x86: fix apic_base enable check
commit 0dce7cd67fd9055c4a2ff278f8af1431e646d346 upstream.
Commit e66d2ae7c67bd moved the assignment
vcpu->arch.apic_base = value above a condition with
(vcpu->arch.apic_base ^ value), causing that check
to always fail. Use old_value, vcpu->arch.apic_base's
old value, in the condition instead.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions