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, Paul Burton <paul.burton@mips.com>
Subject: [PATCH v5 2/4] um: Add generated/ to MODE_INCLUDE
Date: Wed, 8 Aug 2018 15:52:23 -0700 [thread overview]
Message-ID: <20180808225225.24450-3-paul.burton@mips.com> (raw)
In-Reply-To: <20180808225225.24450-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>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
---
I've been unable to reproduce the error the kbuild test robot reported
for v4 [1], so I'm hoping it may disappear with the rebased series or at
least give me more information if not...
[1] https://www.linux-mips.org/archives/linux-mips/2018-05/msg00094.html
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..543d12d230ab 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$(srctree)/$(ARCH_DIR)/include/generated
HEADER_ARCH := $(SUBARCH)
--
2.18.0
next prev parent reply other threads:[~2018-08-09 1:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 22:52 [PATCH v5 0/4] MIPS: Override barrier_before_unreachable() to fix microMIPS Paul Burton
2018-08-08 22:52 ` [PATCH v5 1/4] alpha: Use OPTIMIZE_INLINING instead of asm/compiler.h Paul Burton
2018-08-08 22:52 ` Paul Burton [this message]
2018-08-08 22:52 ` [PATCH v5 3/4] compiler.h: Allow arch-specific overrides Paul Burton
2018-08-08 22:52 ` [PATCH v5 4/4] MIPS: Workaround GCC __builtin_unreachable reordering bug 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=20180808225225.24450-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=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).