]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86/boot/e820: Remove unnecessary #include <linux/ioport.h> from asm/e820/api.h
authorIngo Molnar <mingo@kernel.org>
Fri, 27 Jan 2017 12:08:42 +0000 (13:08 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 28 Jan 2017 08:33:15 +0000 (09:33 +0100)
There's a completely unnecessary inclusion of linux/ioport.h near
the end of the asm/e820/api.h file.

Remove it and fix up unrelated code that learned to rely on this
spurious inclusion of a generic header.

No change in functionality.

Cc: Alex Thorlton <athorlton@sgi.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Huang, Ying <ying.huang@intel.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Jackson <pj@sgi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/e820/api.h
arch/x86/mm/ioremap.c
arch/x86/mm/pat.c

index 848b9f61808cac9d239661bda91ec351a5758f52..e8ad6d9c997484485b1f8e3e649d2e21ea0613fd 100644 (file)
@@ -46,6 +46,4 @@ static inline bool is_ISA_range(u64 start, u64 end)
        return start >= ISA_START_ADDRESS && end <= ISA_END_ADDRESS;
 }
 
-#include <linux/ioport.h>
-
 #endif /* _ASM_E820_API_H */
index d4f2b40a96412c2e90d1b66ddcecf3a7e82a0bc2..c43b6b33463ab2ce51a50148838603029bcc6c56 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/bootmem.h>
 #include <linux/init.h>
 #include <linux/io.h>
+#include <linux/ioport.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/mmiotrace.h>
index 41b0f2f3d90bde46b2bf09e684c7791602c075ff..9b78685b66e663c80ec3a68986a39024fd372b3c 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/seq_file.h>
 #include <linux/bootmem.h>
 #include <linux/debugfs.h>
+#include <linux/ioport.h>
 #include <linux/kernel.h>
 #include <linux/pfn_t.h>
 #include <linux/slab.h>