From patchwork Mon Dec 4 11:57:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13478244 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 53E1022EFC for ; Mon, 4 Dec 2023 11:57:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ADQLkfR6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49CD3C433CB; Mon, 4 Dec 2023 11:57:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701691068; bh=K/hCExDh0cBht9JYKXc5uzgnRoEPgJr0wTezykOGsCs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ADQLkfR6/G5iW3ZcRBZsrLpUf7s7lsovxNQBaHMvyKPYeFp0oZCVZjDtndv5cqYGU lPehDNZvpC3yAwufw5khufsbAMNoUFlNIGaI1yaBHqFuz1YaRZn4DbGi+XyYodJY4q 4FGW/Q8TD2NbPaDJTJzbPs5JocjhRDz/r10nks0EMew/v78e3FQ91HM77SxJFZmLZu K1u6XrPv6lv3yGQeOH0UHn1M2hB4siZN/MF+K3rFdNM/LfD4YlAX+aoDVXXwjSO94M 13d6FrGBXNG0XJkWcWHV+bV0VVGwbcr/kC/CzRz4CGGN3Z74yD5c5PzADvR+dGvIGu TmWWTsA/e0SSw== From: Arnd Bergmann To: linux-mips@vger.kernel.org Cc: Arnd Bergmann , "Andrew Morton" , "Stephen Rothwell" , "Linux Kernel Mailing List" , "Thomas Bogendoerfer" Subject: [PATCH 15/20] mips: mt: include asm/mips_mt.h Date: Mon, 4 Dec 2023 12:57:05 +0100 Message-Id: <20231204115710.2247097-16-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 These two functions have a global prototype but the header is not included before the function definitions: arch/mips/kernel/mips-mt.c:50:6: error: no previous prototype for 'mips_mt_regdump' [-Werror=missing-prototypes] arch/mips/kernel/mips-mt.c:159:6: error: no previous prototype for 'mips_mt_set_cpuoptions' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- arch/mips/kernel/mips-mt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c index f88b7919f11f..c07d64438b5b 100644 --- a/arch/mips/kernel/mips-mt.c +++ b/arch/mips/kernel/mips-mt.c @@ -19,6 +19,7 @@ #include #include #include +#include int vpelimit;