]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
x86/mm: Correct fixmap header usage on adaptable MODULES_END
authorThomas Garnier <thgarnie@google.com>
Fri, 17 Mar 2017 17:50:34 +0000 (10:50 -0700)
committerIngo Molnar <mingo@kernel.org>
Sat, 18 Mar 2017 08:48:00 +0000 (09:48 +0100)
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>
arch/x86/include/asm/pgtable_64.h
arch/x86/kernel/module.c
arch/x86/mm/dump_pagetables.c
arch/x86/mm/kasan_init_64.c
mm/vmalloc.c

index 73c7ccc389122d074399e9fc776ec33ab5332baf..67608d4abc2c975600805043d8d407f6e0e0e781 100644 (file)
@@ -13,6 +13,7 @@
 #include <asm/processor.h>
 #include <linux/bitops.h>
 #include <linux/threads.h>
+#include <asm/fixmap.h>
 
 extern pud_t level3_kernel_pgt[512];
 extern pud_t level3_ident_pgt[512];
index fad61caac75e25eaa3ff7eb654ab787a37374f9d..477ae806c2fa71f425ff56a8b75b1306dfcf7535 100644 (file)
@@ -35,7 +35,6 @@
 #include <asm/page.h>
 #include <asm/pgtable.h>
 #include <asm/setup.h>
-#include <asm/fixmap.h>
 
 #if 0
 #define DEBUGP(fmt, ...)                               \
index 75efeecc85eb5bbad8ccc44ee412ca8c1b28e189..58b5bee7ea27011419a0c81f5efeac3964a3ad71 100644 (file)
@@ -20,7 +20,6 @@
 
 #include <asm/kasan.h>
 #include <asm/pgtable.h>
-#include <asm/fixmap.h>
 
 /*
  * The dumper groups pagetable entries of the same type into one, and for
index 1bde19ef86bd8b5d01941a5815adcfa8e4f993c9..8d63d7a104c3c445805dcf24a59fff2756a17b01 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <asm/tlbflush.h>
 #include <asm/sections.h>
-#include <asm/fixmap.h>
 
 extern pgd_t early_level4_pgt[PTRS_PER_PGD];
 extern struct range pfn_mapped[E820_X_MAX];
index b7d2a23349f41c530cfdab157f4a9935b2f61687..0dd80222b20bbd6ab3c6235134e5f8f37b57815a 100644 (file)
 #include <asm/tlbflush.h>
 #include <asm/shmparam.h>
 
-#ifdef CONFIG_X86
-# include <asm/fixmap.h>
-#endif
-
 #include "internal.h"
 
 struct vfree_deferred {