Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2652146rdb; Mon, 4 Dec 2023 04:00:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0sQGai/g3m6X/vrwB0hT8fh4rHee17Azm2/OtvLjt1doy9w6tFrrhcvUCT1lj1BLN6Dm+ X-Received: by 2002:a17:902:e804:b0:1d0:a4c2:4bb4 with SMTP id u4-20020a170902e80400b001d0a4c24bb4mr808105plg.35.1701691212089; Mon, 04 Dec 2023 04:00:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701691212; cv=none; d=google.com; s=arc-20160816; b=ygwSULMm0CTzJu3sKMKzKUZHKfN/oikdvgFEL2oMQYMuKLkw0DzGr6ScNX2Z2U2E99 gZk0vnxZjM56b2czOrcVqoQ2bgn6rUGAo2b7dkFUTSxUwhB1owm4xxzH6w04VaaTGzB3 nQIX7iRwhvuxsn3D40LXls9Gp9ZSk8hoiHX8HEcITr4mC9IHNPL1RO4GIKQS4imLT4Ko Ui469j+E5+pc6RDIfZz7LncUYhmTYlwg+SKa8gjvy6SkVzVQMU/T4hvxGigH5x32gNhb 6o39M0BZ3wqUVjY9Dup+NAGbjthnLsmzrVTODHj/ptTBcajNCRrDqVdb/tRorPaGtvqJ JCxw== 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=HdrnaBpSnDdgxcoQB/HZjEPHxFgncwQF3ZcERqFcKIk=; fh=ZaUu8Qu87y0sWtsc/L1xWJKMgHMvIjP9DS2ujBqzc8w=; b=p/ubVjYjRonFiy+p3zzPfJ1wBgNuHIas2rZGY3QXwgybctU40S4n5IEvBRJBfopEY5 XwDh/n2TDdhcFiXwVRd+o9CoCcnBbVquIdmxf7kn5Amma/VKhuH8Qov8piYxYNMLKqk0 /Z9Fe83ohzPUeDtdkAECCnazMbjlezuDFoZaZmUZFr9KKykyFFASg5jsVcorti8yGYhW 2lDus2vZvMQdkB31dA4zPzq0uVHmxkIdcn1xdOFPQ2v+GQhKreyipUW8FZplSdxKenoS Gjck0Ixk02DcCW7haM9IAPh1FeOyRWEP7Ek1hnSFYAfvpX7GN/E68u7SqsucBy1bFrAS rPjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sR0thcYr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ik21-20020a170902ab1500b001d049eca370si6196906plb.589.2023.12.04.04.00.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 04:00:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sR0thcYr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E9ED7809FC82; Mon, 4 Dec 2023 04:00:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343946AbjLDL7y (ORCPT + 99 others); Mon, 4 Dec 2023 06:59:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343915AbjLDL7C (ORCPT ); Mon, 4 Dec 2023 06:59:02 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 211961FEC for ; Mon, 4 Dec 2023 03:57:58 -0800 (PST) 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> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 04 Dec 2023 04:00:10 -0800 (PST) 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 -- 2.39.2