x86: don't setup legacy syscall vector when !CONFIG_PV
authorWei Liu <wei.liu2@citrix.com>
Fri, 19 Oct 2018 14:28:36 +0000 (15:28 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 22 Oct 2018 11:31:09 +0000 (12:31 +0100)
commit3528426cb93948e440da947963bd8163f186ef67
treec8ecb80123203a68fefbd6accfc2a7f54b6c347e
parentd7ccb75b9623e8cca4fec718539c32412a3b8b6d
x86: don't setup legacy syscall vector when !CONFIG_PV

The code snippet is to switch between SYS_DECS_trap_gate and
SYS_DESC_irq_gate depending on whether XPTI is used. When PV is
disabled there is no need to switch.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/smpboot.c