[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86/paging: paging_set_allocation() is init-only
This is needed for Dom0 creation only, therefore it gets additionally framed by an #ifdef. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- 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@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |