x86/cpuid: Fix APIC bit clearing
authorFam Zheng <famzheng@amazon.com>
Wed, 29 Jul 2020 17:51:45 +0000 (18:51 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 29 Jul 2020 18:03:41 +0000 (19:03 +0100)
commit64219fa179c3e48adad12bfce3f6b3f1596cccbf
tree5ff1858dce564948d931b9c8ece2819da3bb6e46
parentb071ec25e85c4aacf3da59e5258cda0b1c4df45d
x86/cpuid: Fix APIC bit clearing

The bug is obvious here, other places in this function used
"cpufeat_mask" correctly.

Fixed: b648feff8ea2 ("xen/x86: Improvements to in-hypervisor cpuid sanity checks")
Signed-off-by: Fam Zheng <famzheng@amazon.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpuid.c