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

x86/mm: Correct fixmap header usage on adaptable MODULES_END

This patch removes fixmap header usage on non-x86 code that was
introduced by the adaptable MODULE_END change.

Signed-off-by: Thomas Garnier <thgarnie@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/20170317175034.4701-1-thgarnie@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>

authored by

Thomas Garnier and committed by
Ingo Molnar
f991376e 74c8ce95

+1 -7
+1
arch/x86/include/asm/pgtable_64.h
··· 13 13 #include <asm/processor.h> 14 14 #include <linux/bitops.h> 15 15 #include <linux/threads.h> 16 + #include <asm/fixmap.h> 16 17 17 18 extern pud_t level3_kernel_pgt[512]; 18 19 extern pud_t level3_ident_pgt[512];
-1
arch/x86/kernel/module.c
··· 35 35 #include <asm/page.h> 36 36 #include <asm/pgtable.h> 37 37 #include <asm/setup.h> 38 - #include <asm/fixmap.h> 39 38 40 39 #if 0 41 40 #define DEBUGP(fmt, ...) \
-1
arch/x86/mm/dump_pagetables.c
··· 20 20 21 21 #include <asm/kasan.h> 22 22 #include <asm/pgtable.h> 23 - #include <asm/fixmap.h> 24 23 25 24 /* 26 25 * The dumper groups pagetable entries of the same type into one, and for
-1
arch/x86/mm/kasan_init_64.c
··· 9 9 10 10 #include <asm/tlbflush.h> 11 11 #include <asm/sections.h> 12 - #include <asm/fixmap.h> 13 12 14 13 extern pgd_t early_level4_pgt[PTRS_PER_PGD]; 15 14 extern struct range pfn_mapped[E820_X_MAX];
-4
mm/vmalloc.c
··· 36 36 #include <asm/tlbflush.h> 37 37 #include <asm/shmparam.h> 38 38 39 - #ifdef CONFIG_X86 40 - # include <asm/fixmap.h> 41 - #endif 42 - 43 39 #include "internal.h" 44 40 45 41 struct vfree_deferred {