From patchwork Sun Feb 25 17:22:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mathieu Malaterre X-Patchwork-Id: 877586 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zqCYf0m1pz9s12 for ; Mon, 26 Feb 2018 05:05:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZgeltjMj"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3zqCYd6FzhzDqG4 for ; Mon, 26 Feb 2018 05:05:41 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZgeltjMj"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2a00:1450:400c:c09::244; helo=mail-wm0-x244.google.com; envelope-from=mathieu.malaterre@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ZgeltjMj"; dkim-atps=neutral Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zqBcb0Zf4zF1Nq for ; Mon, 26 Feb 2018 04:23:11 +1100 (AEDT) Received: by mail-wm0-x244.google.com with SMTP id 191so13030800wmm.4 for ; Sun, 25 Feb 2018 09:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BoMWUxqrjvSxIilk6MRzCQmvhLL6Hm884eeXXpQh1pQ=; b=ZgeltjMjEC0VPiQ1nNOMS8F5EhHNQGgDn86zX2fKcXhoetUZJ03Fdq+ASZLoCAQjVB /L2abi0jTF44Pywo68282/ufb3LYmDE0vfgAXTZ4N7QfQ9ON43mPyuwoBRe1Em41XA52 p412AwIfcEE+LknELGp30nbNxWwDsqty5+nqYmtguTRrJ+ggpoxDmYRS0y7hg4yNMzQP x7+AU+zpAHubXJHYydgGZHe4MS9tUW9ouR1aoBvLIUCVe2UaghS8zImSI5E+tFsoN71+ FXIRALI8WzDt6zH0eoucPBRHWQojQgZs8/xzeg6U25jh1r9kyPLI3aEId1uOuX8+f+wC lH2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=BoMWUxqrjvSxIilk6MRzCQmvhLL6Hm884eeXXpQh1pQ=; b=CB7QjPPNVG2np6UYSrGIIHXnhQJ3yeTHHB2kSwPPB9x6S+aUowRGiqlQs72OGH6gfe ZB2MMKgjUc86KO0ucgfTV3V0I7Xq0cGeHlhfSniyADLlzHF7v7Gd39F3kIRlsWXCtweW 81o+/ztR0vm3vSfPuXkwXcYg8zpV+ht+2lUysSMAExwkDvoSypejE5md5GyPYrscnDWH gIOYrom2yfJJ3g+yATjs7nPjuVx/mEw92aWrQGwGEmvx2kTzSXcogctMo1295I7JRPc0 rYpQemOOytfkTSnqfbIDeWxvWySM3lwylwPfqNYf8k3ewuIlIqAWt4vkwg3hid17FHqL 4ydw== X-Gm-Message-State: APf1xPBcElhr/MPCRaCkyRJYSZi4QHWIVdit8Hs8v0FrSsCm7PgA5sbo gVaRUneycirB92tRdfEq7C1741ii X-Google-Smtp-Source: AG47ELtPpcxSW8hN8+vwMzmqAOO80/Oo/8aaK/3D0iLwmjg+e8uZO54Zle/Rd4dFRtBdcWNYIzuGOQ== X-Received: by 10.28.142.135 with SMTP id q129mr6443wmd.112.1519579388340; Sun, 25 Feb 2018 09:23:08 -0800 (PST) Received: from macbookpro.malat.net (bru31-1-78-225-226-121.fbx.proxad.net. [78.225.226.121]) by smtp.gmail.com with ESMTPSA id z72sm6253097wmc.2.2018.02.25.09.23.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Feb 2018 09:23:06 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id DBCB410C0512; Sun, 25 Feb 2018 18:23:02 +0100 (CET) From: Mathieu Malaterre To: Michael Ellerman Subject: [PATCH 15/21] powerpc: Add missing prototype for MMU_setup Date: Sun, 25 Feb 2018 18:22:30 +0100 Message-Id: <20180225172236.29650-16-malat@debian.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180225172236.29650-1-malat@debian.org> References: <20180225172236.29650-1-malat@debian.org> MIME-Version: 1.0 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org, Paul Mackerras , Jiri Slaby , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Add a function declaration for MMU_setup at the beginning of the file to fix a warning (treated as error in W=1): CC kernel/sys.o arch/powerpc/mm/init_32.c:102:13: error: no previous prototype for ‘MMU_setup’ [-Werror=missing-prototypes] void __init MMU_setup(void) ^~~~~~~~~ cc1: all warnings being treated as errors Signed-off-by: Mathieu Malaterre --- arch/powerpc/mm/init_32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c index 6419b33ca309..e88bcad9a63b 100644 --- a/arch/powerpc/mm/init_32.c +++ b/arch/powerpc/mm/init_32.c @@ -79,6 +79,7 @@ EXPORT_SYMBOL(agp_special_page); #endif void MMU_init(void); +void __init MMU_setup(void); /* * this tells the system to map all of ram with the segregs