Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp907955rwd; Tue, 16 May 2023 09:07:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WaWWH+qZN8BrleoLt/oGP3P8COTAYH4qX23gQnAj15oki4bh4LzWcky7ej2h/edTSF3Ev X-Received: by 2002:a05:6a21:9981:b0:103:f088:105e with SMTP id ve1-20020a056a21998100b00103f088105emr24675385pzb.16.1684253251135; Tue, 16 May 2023 09:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684253251; cv=none; d=google.com; s=arc-20160816; b=v3g9Y7+jqZJ9nzsUrJ9orQolTa7JzZvyqDEfUSY3vml/gOXQ1QRiIXjZIzfziS29A9 ErTXNS6X5g2FDGtDdAzRhepQDs3abGKrCGeY61ZL/EV9KX5BQfOnHiWJv9Vm0evpZd3n y1HgIhgisghMFeMR1rItUgJlSh4iRy3FfqEs4P8zyPmKEziNvfYLeVhH2IMRD7lsJb2Y WwWZjNpZxNWQ6HpLHPvlIJu8IKTqoptMSFhc+E34RlBJfHq55J86FYxUZmW/CWNlDDl5 jalal2kOfhF95yPhg/hyapD0UV8tx+ed0obMn+vAA9fveX5bWnNgTK4GQFTIDjRSeKA8 rOGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GPG07Mtc8L3z9wY22zkDH7IdXrlU+gsNLzN18a1VBes=; b=lZNRBgnMx3N8bTzSLRkeA9b+19VOS5B3x+XOGNCyQMm4WuPwSg+Wx2lsB15e6FPUEW Q7dsozfDUcKMGw9DxhjFBqrEaN7sqJTnGrRtobB352Or4P5C5wOAychEzdcetySby+ka 8FxZz2R+qXBjs1a+JW0agIpRygmbEnp1X/tUha2srcGajLtaJBOwqrd1n+fZdAj8nHIz a/9OlYN7fjtk6epQoznTj4IIswfO1pcM9Pb8GuA2MHP8JqqKmjnVfSOSleJc3tyWw+r4 LvUCe6AeNq2PxNNd1Xtm1thoDHie4QcFmPp1oLXnpvOAIzkUTmNuDHwcaZJJDSuG9ah2 XhFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cFT7/bXo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j65-20020a638b44000000b0051b10b20ceasi20090098pge.893.2023.05.16.09.07.15; Tue, 16 May 2023 09:07:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="cFT7/bXo"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234338AbjEPPs3 (ORCPT + 99 others); Tue, 16 May 2023 11:48:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234297AbjEPPsD (ORCPT ); Tue, 16 May 2023 11:48:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 770F2A5D7; Tue, 16 May 2023 08:47:45 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B164C63BA1; Tue, 16 May 2023 15:46:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF635C433A1; Tue, 16 May 2023 15:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684252013; bh=Cpt8gD1DG91vSJDrfbt4Hrl17RTrQOpd+8m0dG4DdQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cFT7/bXodGtbqNhpbxA6rLR7H1Ne7v2c2QMRA6uuV1m+dtzvyi75WbAjVRMg99NqS o2ceMU63IhrPRo0CcVXXeGF2Hv3n8lhgD3ahh1EWLou27UjIcjkS0H3jDAivSRKdLs 6Aftg255gYT4bl976C5uxerdFY9f94joSJux3id1TJ44D2uoMoeu+hOpaUYOktvdC4 il8SGAa58aUJN9ehp7ezXkDm1ox8DesMBqNmQvf0XKZymPlK3Ici78OFBfZVAQJnR9 8V2d593UtJAyx9p6KtrFHVGNy8oq2UifngtIjXdibQ4VOHf1hjA0Z617i8Gd//dknq U3dNTlQCB/9uA== From: Arnd Bergmann To: Russell King Cc: Arnd Bergmann , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Oleg Nesterov , "Rafael J. Wysocki" , Pavel Machek , Linus Walleij , Ard Biesheuvel , Kees Cook , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 10/16] ARM: nommu: include asm/idmap.h Date: Tue, 16 May 2023 17:45:59 +0200 Message-Id: <20230516154605.517690-11-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516154605.517690-1-arnd@kernel.org> References: <20230516154605.517690-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann setup_mm_for_reboot() is declared in asm/idmap.h but that is not included for the definition, causing a W=1 warning: arch/arm/mm/nommu.c:178:6: error: no previous prototype for 'setup_mm_for_reboot' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/arm/mm/nommu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mm/nommu.c b/arch/arm/mm/nommu.c index 53f2d8774fdb..43cfd06bbeba 100644 --- a/arch/arm/mm/nommu.c +++ b/arch/arm/mm/nommu.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "mm.h" -- 2.39.2