aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2009-09-14 13:01:53 +0800
committerLen Brown <len.brown@intel.com>2009-09-15 15:08:40 -0400
commit3834f47291df475be3f0f0fb7ccaa098967cc054 (patch)
treeb64a31381b17f04339f66bbf612885231e9c768f
parent8079ce34f2c3f5bfedcea8d4fb7290ce46ac5b56 (diff)
SFI: remove unneeded includes
Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--arch/x86/kernel/sfi.c7
-rw-r--r--drivers/sfi/sfi_core.c5
2 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/kernel/sfi.c b/arch/x86/kernel/sfi.c
index b294b7a0d4b..34e09938265 100644
--- a/arch/x86/kernel/sfi.c
+++ b/arch/x86/kernel/sfi.c
@@ -21,22 +21,15 @@
#define KMSG_COMPONENT "SFI"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
-#include <linux/bootmem.h>
-#include <linux/cpumask.h>
-#include <linux/module.h>
#include <linux/acpi.h>
#include <linux/init.h>
-#include <linux/efi.h>
-#include <linux/irq.h>
#include <linux/sfi.h>
#include <linux/io.h>
#include <asm/io_apic.h>
-#include <asm/pgtable.h>
#include <asm/mpspec.h>
#include <asm/setup.h>
#include <asm/apic.h>
-#include <asm/e820.h>
#ifdef CONFIG_X86_LOCAL_APIC
static unsigned long sfi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE;
diff --git a/drivers/sfi/sfi_core.c b/drivers/sfi/sfi_core.c
index 7bd6b18fdd2..d3b49680047 100644
--- a/drivers/sfi/sfi_core.c
+++ b/drivers/sfi/sfi_core.c
@@ -62,16 +62,11 @@
#include <linux/bootmem.h>
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/string.h>
#include <linux/errno.h>
#include <linux/types.h>
#include <linux/acpi.h>
#include <linux/init.h>
-#include <linux/irq.h>
#include <linux/sfi.h>
-#include <linux/smp.h>
-
-#include <asm/pgtable.h>
#include "sfi_core.h"