Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5398446rwr; Tue, 9 May 2023 00:26:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ563siFA4/Do7hb7f/iCxTHsT/iN9ujzHWTaEyR0Kcj2wwdjYElXnchJm3I0FBP2G4Vbypz X-Received: by 2002:a05:6a20:3c8a:b0:101:4627:dfe with SMTP id b10-20020a056a203c8a00b0010146270dfemr1575252pzj.9.1683617180496; Tue, 09 May 2023 00:26:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683617180; cv=none; d=google.com; s=arc-20160816; b=cl2xcNzLVqrr1UollFpC76L23a+NrDEKK2diogCmeTAZ+5U7u47fj/obNFaS0Lk2r3 O2FbbVFq4LJ3dJYx0n3V+BJkUd/lnmH4+RcOPZ0NSQJONUUwHKk8g1XcmFlBt9/jwD6+ sHhVzAckX5gMDWIGjmH2EZM2vjps3xhRD+S/wYaITrz2Gz3M3ZOfuwim8eGr7v/TDthf S/o9JGQ4iVfZOYUk0nsEDZ2YPkx1MHHDMYID/Z1GBjEE7ji3rvA7LNOAHzdQnDqLn7RA +/c7aAfyCQjk2nddYmy1leXdKL5W2VcMCwU51lSAWW5NajGycoxJECV/TAvJnTWHz2Or JTtQ== 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=XUy8UyChpMT8cw179nXCE5B1yDJBLSTcP634fj3Cg2I=; b=SzLVsWvF/i5PBof/0Z1wEk9IU+dML+rJWigermJbe1A7SmByD2f16SbDjVyReHeanM 0VUdrAFgs95shbBOIS7MIvrTwH/OKKI4XabZ9Auw+WR0sMCrQzrOL2QBLzxv9mRpNyRv jvrBvuaB+MGzBl3OZk0EQNjxMq/IaeqzNW7xUaDVamhLiWQQfMYaR6Gg4LfH4lGpyslT dskWC442SSMqOw3Os8suGbcpzmNUbudxAF9tKZ0WrUpVFQBRojEUHdGiH+9/lMCWh5ob M/Zslp9kSH/JrCPhgkqeojewcATzKNLQPPZDXguPP5tzAR47i1CbvsDPxuZGcMHiS3t3 5z6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="qAE2IQ6/"; 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 x24-20020a63db58000000b00524cf947601si987995pgi.23.2023.05.09.00.26.07; Tue, 09 May 2023 00:26:20 -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="qAE2IQ6/"; 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 S235152AbjEIHCI (ORCPT + 99 others); Tue, 9 May 2023 03:02:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235154AbjEIHB6 (ORCPT ); Tue, 9 May 2023 03:01:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E09A2688; Tue, 9 May 2023 00:01:56 -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 ACEBF62A2E; Tue, 9 May 2023 07:01:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C25C0C433D2; Tue, 9 May 2023 07:01:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683615715; bh=9k++FdR+6rYCFlA3FaCYqkc/1LNnURTanvKd2FGb3I4=; h=From:Date:Subject:To:Cc:From; b=qAE2IQ6/3Kr6cA1tjAfJjzkqJww1WVtG16AXt40kVwldqlU6xjW7UEzegHSKzexLN YuTRgeBqIvehm4UDCH2FHrSpM+ewDgE7Huz89ZKLbg9vviU8HlBxlmTjvuUBGNEJ6M SthkHvH+p7rjjaVQaabaN2rK7jP1DjhJ9XVYhBFRw+baBh2j+cJ8lII2oRPyFovaNA FnXh07sI1aKzDXm5TOmmDRY3z5vZhQfhsbf1K3zdfOMkNdpdoTLaM6VK1nHijKMdyZ VvOv1QMwDj06fgSw3vfKMTIvFzm0nf2ENaAasJcqQceIJehmKfwWGSHEbR/vIHf91w m15CAZe1Bm/tA== From: Simon Horman Date: Tue, 09 May 2023 09:01:50 +0200 Subject: [PATCH] parisc: kexec: include reboot.h MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230508-parisc-kexec-include-reboot-v1-1-78a155a8a0a4@kernel.org> X-B4-Tracking: v=1; b=H4sIAN3vWWQC/x2NwQ6CMBAFf4Xs2U0qChh/xXjYlqdsbFqyBUNC+ HcbjzOHmZ0KTFHo3uxk+GrRnCqcTw2FSdIbrGNlal17cZ278SymJfAHGwJrCnEdwQaf88KdDG7 ory168VQLXgrYm6Qw1UZaY6xyNrx0+y8fz+P4AcfbVS2CAAAA To: "James E.J. Bottomley" , Helge Deller Cc: Baoquan He , "Leizhen (ThunderTown)" , kexec@lists.infradead.org, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.2 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 Include reboot.h in machine_kexec.c for declaration of machine_crash_shutdown and machine_shutdown. gcc-12 with W=1 reports: arch/parisc/kernel/kexec.c:57:6: warning: no previous prototype for 'machine_crash_shutdown' [-Wmissing-prototypes] 57 | void machine_crash_shutdown(struct pt_regs *regs) | ^~~~~~~~~~~~~~~~~~~~~~ arch/parisc/kernel/kexec.c:61:6: warning: no previous prototype for 'machine_shutdown' [-Wmissing-prototypes] 61 | void machine_shutdown(void) | ^~~~~~~~~~~~~~~~ No functional changes intended. Compile tested only. Signed-off-by: Simon Horman --- arch/parisc/kernel/kexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/parisc/kernel/kexec.c b/arch/parisc/kernel/kexec.c index 5eb7f30edc1f..db57345a9daf 100644 --- a/arch/parisc/kernel/kexec.c +++ b/arch/parisc/kernel/kexec.c @@ -4,6 +4,8 @@ #include #include #include +#include + #include #include