Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

highmem: Get rid of kmap_types.h

The header is not longer used and on alpha, ia64, openrisc, parisc and um
it was completely unused anyway as these architectures have no highmem
support.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20201103095858.422094352@linutronix.de

-71
-15
arch/alpha/include/asm/kmap_types.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef _ASM_KMAP_TYPES_H 3 - #define _ASM_KMAP_TYPES_H 4 - 5 - /* Dummy header just to define km_type. */ 6 - 7 - #ifdef CONFIG_DEBUG_HIGHMEM 8 - #define __WITH_KM_FENCE 9 - #endif 10 - 11 - #include <asm-generic/kmap_types.h> 12 - 13 - #undef __WITH_KM_FENCE 14 - 15 - #endif
-13
arch/ia64/include/asm/kmap_types.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef _ASM_IA64_KMAP_TYPES_H 3 - #define _ASM_IA64_KMAP_TYPES_H 4 - 5 - #ifdef CONFIG_DEBUG_HIGHMEM 6 - #define __WITH_KM_FENCE 7 - #endif 8 - 9 - #include <asm-generic/kmap_types.h> 10 - 11 - #undef __WITH_KM_FENCE 12 - 13 - #endif /* _ASM_IA64_KMAP_TYPES_H */
-1
arch/openrisc/mm/init.c
··· 33 33 #include <asm/io.h> 34 34 #include <asm/tlb.h> 35 35 #include <asm/mmu_context.h> 36 - #include <asm/kmap_types.h> 37 36 #include <asm/fixmap.h> 38 37 #include <asm/tlbflush.h> 39 38 #include <asm/sections.h>
-1
arch/openrisc/mm/ioremap.c
··· 15 15 #include <linux/io.h> 16 16 #include <linux/pgtable.h> 17 17 #include <asm/pgalloc.h> 18 - #include <asm/kmap_types.h> 19 18 #include <asm/fixmap.h> 20 19 #include <asm/bug.h> 21 20 #include <linux/sched.h>
-13
arch/parisc/include/asm/kmap_types.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef _ASM_KMAP_TYPES_H 3 - #define _ASM_KMAP_TYPES_H 4 - 5 - #ifdef CONFIG_DEBUG_HIGHMEM 6 - #define __WITH_KM_FENCE 7 - #endif 8 - 9 - #include <asm-generic/kmap_types.h> 10 - 11 - #undef __WITH_KM_FENCE 12 - 13 - #endif
-1
arch/um/include/asm/fixmap.h
··· 3 3 #define __UM_FIXMAP_H 4 4 5 5 #include <asm/processor.h> 6 - #include <asm/kmap_types.h> 7 6 #include <asm/archparam.h> 8 7 #include <asm/page.h> 9 8 #include <linux/threads.h>
-13
arch/um/include/asm/kmap_types.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - /* 3 - * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) 4 - */ 5 - 6 - #ifndef __UM_KMAP_TYPES_H 7 - #define __UM_KMAP_TYPES_H 8 - 9 - /* No more #include "asm/arch/kmap_types.h" ! */ 10 - 11 - #define KM_TYPE_NR 14 12 - 13 - #endif
-1
include/asm-generic/Kbuild
··· 30 30 mandatory-y += irq_regs.h 31 31 mandatory-y += irq_work.h 32 32 mandatory-y += kdebug.h 33 - mandatory-y += kmap_types.h 34 33 mandatory-y += kmap_size.h 35 34 mandatory-y += kprobes.h 36 35 mandatory-y += linkage.h
-11
include/asm-generic/kmap_types.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef _ASM_GENERIC_KMAP_TYPES_H 3 - #define _ASM_GENERIC_KMAP_TYPES_H 4 - 5 - #ifdef __WITH_KM_FENCE 6 - # define KM_TYPE_NR 41 7 - #else 8 - # define KM_TYPE_NR 20 9 - #endif 10 - 11 - #endif
-2
include/linux/highmem.h
··· 29 29 } 30 30 #endif 31 31 32 - #include <asm/kmap_types.h> 33 - 34 32 /* 35 33 * Outside of CONFIG_HIGHMEM to support X86 32bit iomap_atomic() cruft. 36 34 */