summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b294b7a0d4b9..34e099382651 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 7bd6b18fdd27..d3b496800477 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"