diff mbox

[6/16] xics: trim includes

Message ID patch-xics-6@bga.com (mailing list archive)
State Accepted, archived
Commit 188bdddd243e6872608099bd1142a03b70571132
Headers show

Commit Message

Milton Miller Oct. 10, 2008, 11:56 a.m. UTC
Trim unneeded includes from xics.c.  We don't use signals or gfp
flags, we use only OF functions and don't need prom, and the 8259
is now handled by our caller.

Signed-off-by: Milton Miller <miltonm@bga.com>
---
asm/smp.h gives us cpu mask accessors for !CONFIG_SMP, used in the next patch
diff mbox

Patch

Index: work.git/arch/powerpc/platforms/pseries/xics.c
===================================================================
--- work.git.orig/arch/powerpc/platforms/pseries/xics.c	2008-08-07 03:41:08.000000000 -0500
+++ work.git/arch/powerpc/platforms/pseries/xics.c	2008-08-07 03:43:12.000000000 -0500
@@ -15,21 +15,18 @@ 
 #include <linux/irq.h>
 #include <linux/smp.h>
 #include <linux/interrupt.h>
-#include <linux/signal.h>
 #include <linux/init.h>
-#include <linux/gfp.h>
 #include <linux/radix-tree.h>
 #include <linux/cpu.h>
+#include <linux/of.h>
 
 #include <asm/firmware.h>
-#include <asm/prom.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/smp.h>
 #include <asm/rtas.h>
 #include <asm/hvcall.h>
 #include <asm/machdep.h>
-#include <asm/i8259.h>
 
 #include "xics.h"
 #include "plpar_wrappers.h"