This is needed for Dom0 creation only, therefore it gets additionally
framed by an #ifdef.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
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;
return rc;
}
+#endif
/*
* Local variables: