From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-eopbgr710132.outbound.protection.outlook.com ([40.107.71.132]:8262 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729729AbeHIBSr (ORCPT ); Wed, 8 Aug 2018 21:18:47 -0400 From: Paul Burton Subject: [PATCH v5 2/4] um: Add generated/ to MODE_INCLUDE Date: Wed, 8 Aug 2018 15:52:23 -0700 Message-Id: <20180808225225.24450-3-paul.burton@mips.com> In-Reply-To: <20180808225225.24450-1-paul.burton@mips.com> References: <20180808225225.24450-1-paul.burton@mips.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-mips@linux-mips.org Cc: Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , Jeff Dike , Richard Weinberger , James Hogan , Ralf Baechle , linux-alpha@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, linux-arch@vger.kernel.org, Paul Burton From: James Hogan 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 Signed-off-by: James Hogan Signed-off-by: Paul Burton Cc: Jeff Dike Cc: Richard Weinberger 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