From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Julien Grall <julien.grall@arm.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Jan Beulich <JBeulich@suse.com>
Subject: [PATCH 3/3] xen/include: Include xen/kconfig.h automatically
Date: Wed, 15 Feb 2017 18:10:37 +0000 [thread overview]
Message-ID: <1487182237-22013-3-git-send-email-andrew.cooper3@citrix.com> (raw)
In-Reply-To: <1487182237-22013-1-git-send-email-andrew.cooper3@citrix.com>
generated/autoconf.h is already included automatically so CONFIG_* defines are
avaialble. However, the companion macros such as IS_ENABLED() are not
included.
Include them uniformally everywhere.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Stefano Stabellini <sstabellini@kernel.org>
CC: Julien Grall <julien.grall@arm.com>
---
xen/drivers/acpi/osl.c | 1 -
xen/include/asm-arm/alternative.h | 1 -
xen/include/xen/config.h | 2 +-
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/xen/drivers/acpi/osl.c b/xen/drivers/acpi/osl.c
index f75dfb7..94dbf04 100644
--- a/xen/drivers/acpi/osl.c
+++ b/xen/drivers/acpi/osl.c
@@ -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")
diff --git a/xen/include/asm-arm/alternative.h b/xen/include/asm-arm/alternative.h
index c9740b8..6cc9d0d 100644
--- a/xen/include/asm-arm/alternative.h
+++ b/xen/include/asm-arm/alternative.h
@@ -2,7 +2,6 @@
#define __ASM_ALTERNATIVE_H
#include <asm/cpufeature.h>
-#include <xen/kconfig.h>
#ifdef CONFIG_HAS_ALTERNATIVE
diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h
index 473c5e8..9f39687 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 <generated/autoconf.h>
+#include <xen/kconfig.h>
#ifndef __ASSEMBLY__
#include <xen/compiler.h>
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-02-15 18:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-15 18:10 [PATCH 1/3] xen/include: Remove explicit xen/config.h includes Andrew Cooper
2017-02-15 18:10 ` [PATCH 2/3] xen/include: Remove explicit asm/config.h includes Andrew Cooper
2017-02-16 9:09 ` Julien Grall
2017-02-15 18:10 ` Andrew Cooper [this message]
2017-02-16 9:12 ` [PATCH 3/3] xen/include: Include xen/kconfig.h automatically Julien Grall
2017-02-16 10:27 ` Jan Beulich
2017-02-16 10:40 ` Andrew Cooper
2017-02-16 10:48 ` Jan Beulich
2017-02-16 11:01 ` Andrew Cooper
2017-02-16 11:10 ` Jan Beulich
2017-02-16 11:59 ` Andrew Cooper
2017-02-16 12:38 ` Jan Beulich
2017-02-16 12:01 ` Julien Grall
2017-02-16 9:08 ` [PATCH 1/3] xen/include: Remove explicit xen/config.h includes Julien Grall
2017-02-16 10:25 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487182237-22013-3-git-send-email-andrew.cooper3@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).