This is needed for Dom0 creation only, therefore it gets additionally framed by an #ifdef.
Signed-off-by: Jan Beulich <jbeul...@suse.com> --- a/xen/arch/x86/mm/paging.c +++ b/xen/arch/x86/mm/paging.c @@ -950,7 +950,9 @@ int paging_write_p2m_entry(struct p2m_do return rc; } -int paging_set_allocation(struct domain *d, unsigned int pages, bool *preempted) +#ifdef CONFIG_HVM +int __init paging_set_allocation(struct domain *d, unsigned int pages, + bool *preempted) { int rc; @@ -965,6 +967,7 @@ int paging_set_allocation(struct domain return rc; } +#endif /* * Local variables: _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel