Skip to contentSkip to conversation

x86, 64bit: Drop unneeded include <asm/{pgtable, page}_types.h>

PATCH New Zhang Yanfei 2 participants 2 messages May 14, 2013 – May 28, 2013 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86, 64bit: Drop unneeded include <asm/{pgtable, page}_types.h>

arch/x86/boot/compressed/head_64.S includes <asm/pgtable_types.h> and <asm/page_types.h> but it doesn't look like it needs them. So remove them.

Cc "H. Peter Anvin" <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
---
 arch/x86/boot/compressed/head_64.S |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/boot/compressed/head_64.S +0 -2
index 16f24e6..06e71c2 100644
@@ -27,8 +27,6 @@
 #include <linux/init.h>
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/pgtable_types.h>
-#include <asm/page_types.h>
 #include <asm/boot.h>
 #include <asm/msr.h>
 #include <asm/processor-flags.h>
Signature · 1 line
1.7.1
#1 lore raw

[tip:x86/mm] x86/mm: Drop unneeded include <asm/*pgtable, page*_types.h>

x86/mm: Drop unneeded include <asm/*pgtable, page*_types.h>
Commit-ID:  592a9b8cc813f1e775a7f817985f0722e50e555d
Gitweb:     http://git.kernel.org/tip/592a9b8cc813f1e775a7f817985f0722e50e555d
Author:     Zhang Yanfei <[email protected]>
AuthorDate: Tue, 14 May 2013 16:50:42 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 28 May 2013 11:47:23 +0200

x86/mm: Drop unneeded include <asm/*pgtable, page*_types.h>

arch/x86/boot/compressed/head_64.S includes <asm/pgtable_types.h> and
<asm/page_types.h> but it doesn't look like it needs them. So remove them.

---
 arch/x86/boot/compressed/head_64.S | 2 --
 1 file changed, 2 deletions(-)
arch/x86/boot/compressed/head_64.S +0 -2
index 16f24e6..06e71c2 100644
@@ -27,8 +27,6 @@
 #include <linux/init.h>
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/pgtable_types.h>
-#include <asm/page_types.h>
 #include <asm/boot.h>
 #include <asm/msr.h>
 #include <asm/processor-flags.h>