From patchwork Mon Dec 4 11:57:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13478249 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD68322EFC for ; Mon, 4 Dec 2023 11:57:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sR0thcYr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2163FC433CC; Mon, 4 Dec 2023 11:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701691078; bh=FOVbSQK19msCaYkNFzSQgPAl8qoB4jWxxmWQ3PGAOHs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sR0thcYrUbsQ81aSgyW9X34S+S406cMGfLPksDNE5BQc8zRtMCvJLbelJcKJRa3LW 3aIFLaU3XXTNT3EMelhYUu7Tx44s1DI61JZa2x/5a4zeqhiDO2FxtTZZnv6bCyqywf LhP0vtQ5KMKCDsTtKEWG8WL0Ef1wQToiUnGITW2HCmBzK3do0dN0Gzag5E/HaXZD2w OEy3IgT8o3ULCPev3H1kOf1Dm+GuIXhLRY2rTxA94ZKQEv37914w61CPaMMpD1D8eq O7YkFCmX8zHGZaFr3e9edlZDXjV/zk9fXrBHb093MCJTrRzPevk1t3LNdVuu2lhmZz OJm3OfOtBMqdg== From: Arnd Bergmann To: linux-mips@vger.kernel.org Cc: Arnd Bergmann , "Andrew Morton" , "Stephen Rothwell" , "Linux Kernel Mailing List" , "Thomas Bogendoerfer" Subject: [PATCH 20/20] mips: kexec: include linux/reboot.h Date: Mon, 4 Dec 2023 12:57:10 +0100 Message-Id: <20231204115710.2247097-21-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231204115710.2247097-1-arnd@kernel.org> References: <20231204115710.2247097-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Arnd Bergmann Two functions are provided for kexec, but the mips implementation is missing the corresponding #include statment: arch/mips/kernel/machine_kexec.c:136:1: error: no previous prototype for 'machine_shutdown' [-Werror=missing-prototypes] arch/mips/kernel/machine_kexec.c:152:1: error: no previous prototype for 'machine_crash_shutdown' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/mips/kernel/machine_kexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c index 432bfd3e7f22..4e3579bbd620 100644 --- a/arch/mips/kernel/machine_kexec.c +++ b/arch/mips/kernel/machine_kexec.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include