[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231204115710.2247097-16-arnd@kernel.org>
Date: Mon, 4 Dec 2023 12:57:05 +0100
From: Arnd Bergmann <arnd@...nel.org>
To: linux-mips@...r.kernel.org
Cc: Arnd Bergmann <arnd@...db.de>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"Stephen Rothwell" <sfr@...hwell.id.au>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"Thomas Bogendoerfer" <tsbogend@...ha.franken.de>
Subject: [PATCH 15/20] mips: mt: include asm/mips_mt.h
From: Arnd Bergmann <arnd@...db.de>
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 <arnd@...db.de>
---
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 <asm/mipsmtregs.h>
#include <asm/r4kcache.h>
#include <asm/cacheflush.h>
+#include <asm/mips_mt.h>
int vpelimit;
--
2.39.2
Powered by blists - more mailing lists