Files
xen/tools
Bertrand Marquis 48f35317c2 x86/public: move XEN_ACPI_ in a new header
When Xen is compiled for x86 on an arm machine, libacpi build is failing
due to a wrong include path:
- arch-x86/xen.h includes xen.h
- xen.h includes arch-arm.h (as __i386__ and __x86_64__ are not defined
but arm ones are).

To solve this issue move XEN_ACPI_ definitions in a new header
guest-acpi.h that can be included cleanly by mk_dsdt.c.
Inside this header, only protect the definitions using ifdef
__XEN_TOOLS__ as the defines are not used anywhere in the hypervisor and
are not expected to be.

Previous users needing any of the XEN_ACPI_ definitions will now need to
include arch-x86/guest-acpi.h instead of arch-x86/xen.h

Fixes: d6ac8e22c7 ("acpi/x86: define ACPI IO registers for PVH guests")
Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
2022-09-06 16:04:34 +02:00
..
2022-07-11 12:13:24 +02:00
2022-08-22 12:09:10 +02:00
2022-08-15 08:55:19 +02:00
2022-08-11 11:45:23 +02:00
2021-12-16 20:27:13 +00:00
2021-02-01 15:18:36 +00:00
2022-08-15 08:55:25 +02:00
2022-08-15 08:55:25 +02:00