x86/boot: Drop INVALID_VCPU
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 28 Dec 2019 15:01:00 +0000 (15:01 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 10 Jan 2020 17:45:30 +0000 (17:45 +0000)
commitaf01d330cbb350a7f8cd11189c49cd7904d2a9ff
treed30570a3e4174cbe24bb5767f582be9761d141c0
parentfaa85d4fb39554b382ec3d6d5ec82a9ffc9c63f5
x86/boot: Drop INVALID_VCPU

Now that NULL will fault at boot, there is no need for a special constant to
signify "current not set up yet".

Since c/s fae249d23413 "x86/boot: Rationalise stack handling during early
boot", the BSP cpu_info block is now consistently zero, so drop the adjacent
re-zeroing.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/domain_page.c
xen/arch/x86/setup.c
xen/arch/x86/tboot.c
xen/include/asm-x86/setup.h