From 6778948f9de86c3cfaf36725a7c87dcff9ba247f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 08:20:59 +0000 Subject: [PATCH] kernel_5.10 no rt --- kernel/arch/x86/include/asm/iomap.h | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/kernel/arch/x86/include/asm/iomap.h b/kernel/arch/x86/include/asm/iomap.h index e2de092..bacf68c 100644 --- a/kernel/arch/x86/include/asm/iomap.h +++ b/kernel/arch/x86/include/asm/iomap.h @@ -9,14 +9,19 @@ #include <linux/fs.h> #include <linux/mm.h> #include <linux/uaccess.h> -#include <linux/highmem.h> #include <asm/cacheflush.h> #include <asm/tlbflush.h> -void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot); +void __iomem * +iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot); -int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot); +void +iounmap_atomic(void __iomem *kvaddr); -void iomap_free(resource_size_t base, unsigned long size); +int +iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot); + +void +iomap_free(resource_size_t base, unsigned long size); #endif /* _ASM_X86_IOMAP_H */ -- Gitblit v1.6.2