Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp5282183rwe; Tue, 18 Apr 2023 04:59:46 -0700 (PDT) X-Google-Smtp-Source: AKy350a1og8xlLBBkm6qLNF3qlKjsPf0njTj45x7F8+iEff/WDojOfMO+SGlp+piLYEmM1EGyBz8 X-Received: by 2002:a05:6a00:2e0b:b0:63d:38dd:b120 with SMTP id fc11-20020a056a002e0b00b0063d38ddb120mr2399821pfb.22.1681819186662; Tue, 18 Apr 2023 04:59:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681819186; cv=none; d=google.com; s=arc-20160816; b=i50iDYXeUcxj9gfuT2MoP1J/xd5KXGltuLsbmoOBKDCa8F/C1hC/VdqFxW+CczJazq McU6UNY4t0y5jtnxcbiI0HENg2dFyJLdNDeLHjBuMws9Gr6rIugXtYn/LQD7P74NZIM6 Sfa9aZIGiZdisz4PWLhkCvw3tLXCgpVZaPUf5spPvbpCZcoTYKuUnF3ITk2VbfcKRE5D hl1d0JY2mnECo76ktcaFd6i4HOQfW3E20N7vzt7iCZoSYYBIi4q5XLrv9/iCb0Sv5wgm 2vFlBmmT7y/WxNMBIpgYH9frp5J5281T4FhMNXPuJK6L6RUFk/0ywv4wllvv2I2y/OC3 3TMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=iI/o4HvJRNI9Ot1vtIQ+g5ivPzaWxrLQrsAC5AOj1as=; b=DvJ1YtCo77nZsgE4Yr9WMKm7Zzaz89+7t3efnhIeqsroZhyhkHGb0F19Ul5De6m5hD +c0f41F1J3mX6axaSjZMdUKHiXW7NdWOiE6HU+b2mZtVQp5Lt/08R0bfkf3/aID3H2s2 z4R/mDBuZ4Aq22Loygspi4ZhAIxrTpyGJYzN+8uWMOGdlSkvL5P1mk49/QCxbAAUcW3g pdI9Ix7pxeWqLoWD/VHaUa++levN11FlfBeMS+EzKYT/7h58X+gOtH1mtvAmz3fMzsnL HSw7i1P4fb4MSUV7M71LPSn3PNuaKQOJrQgw1AHzoLu60kbt2JHgtaz2DSOxmV9dmDpB PryA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HnV7Gg44; 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 g3-20020aa79dc3000000b0063b84b5b53asi7320062pfq.9.2023.04.18.04.59.34; Tue, 18 Apr 2023 04:59:46 -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=HnV7Gg44; 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 S231637AbjDRL6B (ORCPT + 99 others); Tue, 18 Apr 2023 07:58:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231269AbjDRLzz (ORCPT ); Tue, 18 Apr 2023 07:55:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6769977D for ; Tue, 18 Apr 2023 04:54:10 -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 19D8A625F0 for ; Tue, 18 Apr 2023 11:54:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 373A8C433A1; Tue, 18 Apr 2023 11:54:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681818849; bh=IwyqCw0ZeRA4BYG/sIG8QCK/6HafSnbXWPI++Rremlc=; h=From:Date:Subject:To:Cc:From; b=HnV7Gg44KLdEPtO6NSa/XqBBiESq55Dum3jMjkpXMI9O7nRk9We5Rgo/MoFCdPyvI JWnWnbZQGpnI53fmf/120wytyjRBVXIxocsDWTcHxQ449S1rNE7j6fLdQiDT0DvfBN sKRjEFhrO0xM1AM7iVstceNC5N13OVkk4tlGhDZuNMHKGALxloBwPMHFCekA0Xju+m HKpIBtlo11JRgA8CQQCsoPL9Z1Zt0xb2TaqBDdfu9HrdLRXUmLuD44ChLz2iXa9cDV wcUn2DNc16EeY8sE/nqGAcg2HS/k+jchwXFz37jm20J/xST6+hewX8ln2sNecIatl4 TnVCsi9DqdgWQ== From: Simon Horman Date: Tue, 18 Apr 2023 13:54:00 +0200 Subject: [PATCH] arm64: kexec: include reboot.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230418-arm64-kexec-include-reboot-v1-1-8453fd4fb3fb@kernel.org> X-B4-Tracking: v=1; b=H4sIANeEPmQC/x2NzQrCMBAGX6Xs2cW0KW3xVcRDfr7aoCayqRIof XdTj8PAzEYZEpDp0mwk+IYcUqzQnhpyi4l3cPCVqVOdVn07sZHX0PMDBY5DdM+PBwtsSiu3A0b ltVbjpKkGrMlgKya65UjMSTiirGeXBId/C+ZQ/vPrbd9/exbtaYwAAAA= To: Catalin Marinas , Will Deacon Cc: Baoquan He , "Leizhen (ThunderTown)" , linux-arm-kernel@lists.infradead.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Include reboot.h in machine_kexec.c for declaration of machine_crash_shutdown. gcc-12 with W=1 reports: arch/arm64/kernel/machine_kexec.c:257:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes] 257 | void machine_crash_shutdown(struct pt_regs *regs) No functional changes intended. Compile tested only. Signed-off-by: Simon Horman --- arch/arm64/kernel/machine_kexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c index 54f8e2d081c4..078910db77a4 100644 --- a/arch/arm64/kernel/machine_kexec.c +++ b/arch/arm64/kernel/machine_kexec.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include