From: Paul Burton <paul.burton@mips.com>
To: linux-mips@linux-mips.org
Cc: Arnd Bergmann <arnd@arndb.de>,
Richard Henderson <rth@twiddle.net>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>,
Matt Turner <mattst88@gmail.com>, Jeff Dike <jdike@addtoit.com>,
Richard Weinberger <richard@nod.at>,
James Hogan <jhogan@kernel.org>,
Ralf Baechle <ralf@linux-mips.org>,
linux-alpha@vger.kernel.org,
user-mode-linux-devel@lists.sourceforge.net,
linux-arch@vger.kernel.org, linux-um@lists.infradead.org,
Paul Burton <paul.burton@mips.com>
Subject: [PATCH v6 2/4] um: Add generated/ to MODE_INCLUDE
Date: Thu, 9 Aug 2018 10:44:42 -0700 [thread overview]
Message-ID: <20180809174444.31705-3-paul.burton@mips.com> (raw)
In-Reply-To: <20180809174444.31705-1-paul.burton@mips.com>
From: James Hogan <jhogan@kernel.org>
Add the um specific generated includes directory to MODE_INCLUDE so that
asm/compiler.h can be used for overriding linux/compiler*.h which is
included automatically, with um using a generated asm-generic wrapper at
arch/um/include/generated/asm/compiler.h.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: James Hogan <jhogan@kernel.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: linux-um@lists.infradead.org
Signed-off-by: Paul Burton <paul.burton@mips.com>
---
Changes in v6:
- s/srctree/objtree/ to fix build issues when building out of tree.
Changes in v5: None
Changes in v4:
- New patch in v4.
arch/um/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/um/Makefile b/arch/um/Makefile
index e54dda8a0363..fec1252160db 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -30,6 +30,7 @@ core-y += $(ARCH_DIR)/kernel/ \
$(ARCH_DIR)/os-$(OS)/
MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas
+MODE_INCLUDE += -I$(objtree)/$(ARCH_DIR)/include/generated
HEADER_ARCH := $(SUBARCH)
--
2.18.0
next prev parent reply other threads:[~2018-08-09 20:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-09 17:44 [PATCH v6 0/4] MIPS: Override barrier_before_unreachable() to fix microMIPS Paul Burton
2018-08-09 17:44 ` [PATCH v6 1/4] alpha: Use OPTIMIZE_INLINING instead of asm/compiler.h Paul Burton
2018-08-09 17:44 ` Paul Burton [this message]
2018-08-09 17:44 ` [PATCH v6 3/4] compiler.h: Allow arch-specific overrides Paul Burton
2018-08-09 18:08 ` Arnd Bergmann
2018-08-09 17:44 ` [PATCH v6 4/4] MIPS: Workaround GCC __builtin_unreachable reordering bug Paul Burton
2018-08-09 18:12 ` Arnd Bergmann
2018-08-09 18:56 ` Paul Burton
2018-08-10 17:05 ` [PATCH v7 " Paul Burton
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=20180809174444.31705-3-paul.burton@mips.com \
--to=paul.burton@mips.com \
--cc=arnd@arndb.de \
--cc=ink@jurassic.park.msu.ru \
--cc=jdike@addtoit.com \
--cc=jhogan@kernel.org \
--cc=linux-alpha@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=linux-um@lists.infradead.org \
--cc=mattst88@gmail.com \
--cc=ralf@linux-mips.org \
--cc=richard@nod.at \
--cc=rth@twiddle.net \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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).