From 983d7f83616922a6439b4352d1b3af488ee27f95 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 22 Nov 2023 02:45:30 +0000
Subject: [PATCH] disable uart0 uart7 uart9
---
kernel/include/linux/printk.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/include/linux/printk.h b/kernel/include/linux/printk.h
index d3195ea..fdc167b 100644
--- a/kernel/include/linux/printk.h
+++ b/kernel/include/linux/printk.h
@@ -141,9 +141,11 @@
#ifdef CONFIG_EARLY_PRINTK
extern asmlinkage __printf(1, 2)
void early_printk(const char *fmt, ...);
+extern void printk_kill(void);
#else
static inline __printf(1, 2) __cold
void early_printk(const char *s, ...) { }
+static inline void printk_kill(void) { }
#endif
#ifdef CONFIG_PRINTK_NMI
--
Gitblit v1.6.2