From 093a6c67005148ae32a5c9e4553491b9f5c2457b Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:40:51 +0000 Subject: [PATCH] disable kernel build waring --- kernel/arch/mips/include/asm/fixmap.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/mips/include/asm/fixmap.h b/kernel/arch/mips/include/asm/fixmap.h index beea147..743535b 100644 --- a/kernel/arch/mips/include/asm/fixmap.h +++ b/kernel/arch/mips/include/asm/fixmap.h @@ -17,7 +17,7 @@ #include <spaces.h> #ifdef CONFIG_HIGHMEM #include <linux/threads.h> -#include <asm/kmap_size.h> +#include <asm/kmap_types.h> #endif /* @@ -52,7 +52,7 @@ #ifdef CONFIG_HIGHMEM /* reserved pte's for temporary kernel mappings */ FIX_KMAP_BEGIN = FIX_CMAP_END + 1, - FIX_KMAP_END = FIX_KMAP_BEGIN + (KM_MAX_IDX * NR_CPUS) - 1, + FIX_KMAP_END = FIX_KMAP_BEGIN+(KM_TYPE_NR*NR_CPUS)-1, #endif __end_of_fixed_addresses }; -- Gitblit v1.6.2