From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB

---
 kernel/arch/nds32/include/asm/fixmap.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/arch/nds32/include/asm/fixmap.h b/kernel/arch/nds32/include/asm/fixmap.h
index 2fa09a2..5a4bf11 100644
--- a/kernel/arch/nds32/include/asm/fixmap.h
+++ b/kernel/arch/nds32/include/asm/fixmap.h
@@ -6,7 +6,7 @@
 
 #ifdef CONFIG_HIGHMEM
 #include <linux/threads.h>
-#include <asm/kmap_size.h>
+#include <asm/kmap_types.h>
 #endif
 
 enum fixed_addresses {
@@ -14,7 +14,7 @@
 	FIX_KMAP_RESERVED,
 	FIX_KMAP_BEGIN,
 #ifdef CONFIG_HIGHMEM
-	FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1,
+	FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_TYPE_NR * NR_CPUS),
 #endif
 	FIX_EARLYCON_MEM_BASE,
 	__end_of_fixed_addresses

--
Gitblit v1.6.2