diff options
Diffstat (limited to 'include/xen/xen.h')
-rw-r--r-- | include/xen/xen.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/xen/xen.h b/include/xen/xen.h index 43efba045acc..5a6a2ab675be 100644 --- a/include/xen/xen.h +++ b/include/xen/xen.h @@ -61,4 +61,15 @@ void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages); #include <xen/balloon.h> #endif +#if defined(CONFIG_XEN_DOM0) && defined(CONFIG_ACPI) && defined(CONFIG_X86) +bool __init xen_processor_present(uint32_t acpi_id); +#else +#include <linux/bug.h> +static inline bool xen_processor_present(uint32_t acpi_id) +{ + BUG(); + return false; +} +#endif + #endif /* _XEN_XEN_H */ |