mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
x86/xen: Guard PV-only stuff in xen-ops.h with CONFIG_XEN_PV
A lot of arch/x86/xen/xen-ops.h is meant to be for PV only. Guard all of it with CONFIG_XEN_PV in order to avoid someone misusing it in non-PV builds. Additionally any 64-bit tests for now guarded items can be dropped. Move the enum pt_level definition to mmu_pv.c, as it is used only there. Signed-off-by: Juergen Gross <jgross@suse.com> Message-ID: <20260522152114.77319-2-jgross@suse.com>
This commit is contained in:
parent
77a834c9d9
commit
41e5f312ae
2 changed files with 123 additions and 125 deletions
Loading…
Add table
Add a link
Reference in a new issue