mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH fixes] MIPS: ip30: ip30-console: Add missing include
@ 2024-06-16 17:54 Jiaxun Yang
  2024-06-20 14:31 ` Thomas Bogendoerfer
  0 siblings, 1 reply; 2+ messages in thread
From: Jiaxun Yang @ 2024-06-16 17:54 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: linux-mips, linux-kernel, stable, Jiaxun Yang

Include linux/processor.h to fix build error:

arch/mips/sgi-ip30/ip30-console.c: In function ‘prom_putchar’:
arch/mips/sgi-ip30/ip30-console.c:21:17: error: implicit declaration of function ‘cpu_relax’ [-Werror=implicit-function-declaration]
   21 |                 cpu_relax();

Cc: stable@vger.kernel.org
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
 arch/mips/sgi-ip30/ip30-console.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/sgi-ip30/ip30-console.c b/arch/mips/sgi-ip30/ip30-console.c
index 7c6dcf6e73f7..a5f10097b985 100644
--- a/arch/mips/sgi-ip30/ip30-console.c
+++ b/arch/mips/sgi-ip30/ip30-console.c
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 
 #include <linux/io.h>
+#include <linux/processor.h>
 
 #include <asm/sn/ioc3.h>
 #include <asm/setup.h>

---
base-commit: 6906a84c482f098d31486df8dc98cead21cce2d0
change-id: 20240616-ip30-buildfix-20d62f2d6186

Best regards,
-- 
Jiaxun Yang <jiaxun.yang@flygoat.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-20 14:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-16 17:54 [PATCH fixes] MIPS: ip30: ip30-console: Add missing include Jiaxun Yang
2024-06-20 14:31 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®