summaryrefslogtreecommitdiffstats
path: root/include/xen/xen-ops.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2017-03-14 18:35:52 +0100
committerJuergen Gross <jgross@suse.com>2017-05-02 11:09:45 +0200
commit3d4ebdb26f6f3573d68d7957f66a89e9401fc4b1 (patch)
treecf0b7780f5bcefbb7e55c4ffaa3be5155f95abf3 /include/xen/xen-ops.h
parentc504b2f1061972e1e9f2a3fcbbb1d6fbcce5ed26 (diff)
downloadlinux-stable-3d4ebdb26f6f3573d68d7957f66a89e9401fc4b1.tar.gz
linux-stable-3d4ebdb26f6f3573d68d7957f66a89e9401fc4b1.tar.bz2
linux-stable-3d4ebdb26f6f3573d68d7957f66a89e9401fc4b1.zip
x86/xen: create stubs for HVM-only builds in page.h
__pfn_to_mfn() is only used from PV code (mmu_pv.c, p2m.c) and from page.h where all functions calling it check for xen_feature(XENFEAT_auto_translated_physmap) first so we can replace it with any stub to make build happy. set_foreign_p2m_mapping()/clear_foreign_p2m_mapping() are used from grant-table.c but only if !xen_feature(XENFEAT_auto_translated_physmap). Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Reviewed-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'include/xen/xen-ops.h')
0 files changed, 0 insertions, 0 deletions