[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/acpi: Allow xen/acpi.h to be included on non-ACPI archs
On 4/8/24 1:54 AM, Jan Beulich wrote: > On 05.04.2024 20:20, Shawn Anastasio wrote: >> Conditionalize xen/acpi.h's inclusion of acpi/acpi.h and asm/acpi.h on >> CONFIG_ACPI and import ARM's !CONFIG_ACPI stub for acpi_disabled() so >> that the header can be included on architectures without ACPI support, >> like ppc. >> >> This change revealed some missing #includes across the ARM tree, so fix >> those as well. >> >> Suggested-by: Jan Beulich <jbeulich@xxxxxxxx> >> Signed-off-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx> > > Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Thanks. > albeit preferably with ... > >> @@ -118,6 +121,7 @@ extern u32 pci_mmcfg_base_addr; >> #else /*!CONFIG_ACPI*/ >> >> #define acpi_mp_config 0 >> +#define acpi_disabled (true) > > ... the unnecessary parentheses avoided here. > If you'd like to handle this durring commit, that would be fine with me. Otherwise let me know if you'd like a v2 to be sent. > Jan Thanks, Shawn
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |