xen/include: Include xen/kconfig.h automatically
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 15 Feb 2017 18:04:58 +0000 (18:04 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Feb 2017 14:15:25 +0000 (14:15 +0000)
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 <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/drivers/acpi/osl.c
xen/include/asm-arm/alternative.h
xen/include/xen/config.h

index f75dfb7cc7ad173d0d4ed48dcdc7a29954cf175b..94dbf0406facd5be5d65b819a922a28e07b346a3 100644 (file)
@@ -37,7 +37,6 @@
 #include <xen/domain_page.h>
 #include <xen/efi.h>
 #include <xen/vmap.h>
-#include <xen/kconfig.h>
 
 #define _COMPONENT             ACPI_OS_SERVICES
 ACPI_MODULE_NAME("osl")
index c9740b816251c7b5ed7a8713e50c6fd12a87b19d..6cc9d0dc5f68f5802324e28efece2e3b6158f6bb 100644 (file)
@@ -2,7 +2,6 @@
 #define __ASM_ALTERNATIVE_H
 
 #include <asm/cpufeature.h>
-#include <xen/kconfig.h>
 
 #ifdef CONFIG_HAS_ALTERNATIVE
 
index 473c5e8c3e8e9c23847f5c76b8608e5ede9cfa0e..9f39687fab68727d9f427b0ddebde5bc232dd61b 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef __XEN_CONFIG_H__
 #define __XEN_CONFIG_H__
 
-#include <generated/autoconf.h>
+#include <xen/kconfig.h>
 
 #ifndef __ASSEMBLY__
 #include <xen/compiler.h>