From patchwork Tue Jan 6 20:36:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paul Walmsley X-Patchwork-Id: 5576941 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DB1E6BF6C3 for ; Tue, 6 Jan 2015 20:38:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F367520225 for ; Tue, 6 Jan 2015 20:38:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2438A20211 for ; Tue, 6 Jan 2015 20:38:29 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8ars-0002VT-1e; Tue, 06 Jan 2015 20:36:44 +0000 Received: from utopia.booyaka.com ([74.50.51.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8arm-0002Hs-RB for linux-arm-kernel@lists.infradead.org; Tue, 06 Jan 2015 20:36:39 +0000 Received: (qmail 25342 invoked by uid 1019); 6 Jan 2015 20:36:16 -0000 Date: Tue, 6 Jan 2015 20:36:16 +0000 (UTC) From: Paul Walmsley To: Mark Rutland Subject: Re: [PATCH 3/4] arm64: fix missing asm/alternative.h include in kernel/module.c In-Reply-To: <20150106104008.GD4858@leverpostej> Message-ID: References: <20150106014554.27249.89116.stgit@dusk.lan> <20150106015215.27249.86394.stgit@dusk.lan> <20150106104008.GD4858@leverpostej> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150106_123639_004593_CB0602D5 X-CRM114-Status: GOOD ( 11.49 ) X-Spam-Score: -0.0 (/) Cc: Catalin Marinas , Will Deacon , Paul Walmsley , "linux-arm-kernel@lists.infradead.org" , Andre Przywara X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Mark, On Tue, 6 Jan 2015, Mark Rutland wrote: > If this can move above the include of asm/insn.h: Done; updated patch below. cheers, - Paul From: Paul Walmsley Date: Mon, 5 Jan 2015 17:38:41 -0700 Subject: [PATCH 3/4] arm64: fix missing asm/alternative.h include in kernel/module.c On next-20150105, defconfig compilation breaks with: arch/arm64/kernel/module.c:408:4: error: implicit declaration of function ‘apply_alternatives’ [-Werror=implicit-function-declaration] Fix by including asm/alternative.h, where the apply_alternatives() prototype is declared. This second version incorporates a comment from Mark Rutland to keep the includes in alphabetical order by filename. Signed-off-by: Paul Walmsley Cc: Paul Walmsley Cc: Catalin Marinas Cc: Will Deacon Acked-by: Mark Rutland --- arch/arm64/kernel/module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/module.c b/arch/arm64/kernel/module.c index fd027b101de5..9b6f71db2709 100644 --- a/arch/arm64/kernel/module.c +++ b/arch/arm64/kernel/module.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include