2013-05-14 08:53:03

by Zhang Yanfei

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Zhang Yanfei <[email protected]>
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(-)

diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index 16f24e6..06e71c2 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -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>
--
1.7.1


Subject: [tip:x86/mm] 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.

Signed-off-by: Zhang Yanfei <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
arch/x86/boot/compressed/head_64.S | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index 16f24e6..06e71c2 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -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>