From: Andrew Cooper Date: Wed, 15 Feb 2017 18:04:58 +0000 (+0000) Subject: xen/include: Include xen/kconfig.h automatically X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~2767 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3091080ef7724ddac77e0ae81c270936a630477f;p=xen.git xen/include: Include xen/kconfig.h automatically generated/autoconf.h is already included automatically so CONFIG_* defines are available. However, the companion macros such as IS_ENABLED() are not included. Include them uniformly everywhere. Signed-off-by: Andrew Cooper Acked-by: Julien Grall --- diff --git a/xen/drivers/acpi/osl.c b/xen/drivers/acpi/osl.c index f75dfb7cc7..94dbf0406f 100644 --- a/xen/drivers/acpi/osl.c +++ b/xen/drivers/acpi/osl.c @@ -37,7 +37,6 @@ #include #include #include -#include #define _COMPONENT ACPI_OS_SERVICES ACPI_MODULE_NAME("osl") diff --git a/xen/include/asm-arm/alternative.h b/xen/include/asm-arm/alternative.h index c9740b8162..6cc9d0dc5f 100644 --- a/xen/include/asm-arm/alternative.h +++ b/xen/include/asm-arm/alternative.h @@ -2,7 +2,6 @@ #define __ASM_ALTERNATIVE_H #include -#include #ifdef CONFIG_HAS_ALTERNATIVE diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h index 473c5e8c3e..9f39687fab 100644 --- a/xen/include/xen/config.h +++ b/xen/include/xen/config.h @@ -7,7 +7,7 @@ #ifndef __XEN_CONFIG_H__ #define __XEN_CONFIG_H__ -#include +#include #ifndef __ASSEMBLY__ #include