[PATCH 6/16] xics: trim includes

Milton Miller miltonm at bga.com
Fri Oct 10 22:56:33 EST 2008


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 at bga.com>
---
asm/smp.h gives us cpu mask accessors for !CONFIG_SMP, used in the next 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"



More information about the Linuxppc-dev mailing list