x86/pv: Move stack_switch()/seg_segment_base() into PV-only files
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 3 Sep 2020 18:09:45 +0000 (19:09 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 9 Sep 2020 15:53:28 +0000 (16:53 +0100)
commita4c4b288069cf0c7285ec3d3efb1df0b46051d46
treeccfc98371ff54dbcd15b5d0171c43d84eb093bd4
parent6d2f1ebccdef655d64fbc3abc83db76c3de08cb1
x86/pv: Move stack_switch()/seg_segment_base() into PV-only files

So they are excluded from !CONFIG_PV builds.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/pv/misc-hypercalls.c
xen/arch/x86/x86_64/mm.c