[PATCH] ppc64: Remove old includes
authorMilton Miller <miltonm@bga.com>
Tue, 6 Sep 2005 01:57:00 +0000 (11:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 6 Sep 2005 06:07:37 +0000 (16:07 +1000)
Trim some no longer needed includes from udbg.c and friends.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/udbg.c
arch/ppc64/kernel/udbg_16550.c
arch/ppc64/kernel/udbg_scc.c

index 2f82e7d..0716402 100644 (file)
 #define WANT_PPCDBG_TAB /* Only defined here */
 #include <linux/config.h>
 #include <linux/types.h>
+#include <linux/sched.h>
 #include <asm/ppcdebug.h>
 #include <asm/processor.h>
-#include <asm/uaccess.h>
-#include <asm/machdep.h>
-#include <asm/io.h>
-#include <asm/prom.h>
 
 void (*udbg_putc)(unsigned char c);
 unsigned char (*udbg_getc)(void);
index ffe19db..9313574 100644 (file)
  */
 #include <linux/config.h>
 #include <linux/types.h>
-#include <asm/ppcdebug.h>
-#include <asm/processor.h>
-#include <asm/naca.h>
-#include <asm/uaccess.h>
-#include <asm/machdep.h>
+#include <asm/udbg.h>
 #include <asm/io.h>
-#include <asm/prom.h>
 
 extern u8 real_readb(volatile u8 __iomem  *addr);
 extern void real_writeb(u8 data, volatile u8 __iomem *addr);
index c8ba8ac..c47fd6c 100644 (file)
  */
 #include <linux/config.h>
 #include <linux/types.h>
-#include <asm/ppcdebug.h>
+#include <asm/udbg.h>
 #include <asm/processor.h>
 #include <asm/naca.h>
-#include <asm/uaccess.h>
-#include <asm/machdep.h>
 #include <asm/io.h>
 #include <asm/prom.h>
 #include <asm/pmac_feature.h>