summaryrefslogtreecommitdiffstats
path: root/arch/ppc64
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2005-09-06 11:57:00 +1000
committerPaul Mackerras <paulus@samba.org>2005-09-06 16:07:37 +1000
commit188d2ce78feac67e41e41808acda7951810f677b (patch)
tree3701cd7f80b2e927bfa79f648a38fb8c91d4c5ad /arch/ppc64
parentc8f1c8be629ee34991fdba8bfe46a5c455393209 (diff)
downloadop-kernel-dev-188d2ce78feac67e41e41808acda7951810f677b.zip
op-kernel-dev-188d2ce78feac67e41e41808acda7951810f677b.tar.gz
[PATCH] ppc64: Remove old includes
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>
Diffstat (limited to 'arch/ppc64')
-rw-r--r--arch/ppc64/kernel/udbg.c5
-rw-r--r--arch/ppc64/kernel/udbg_16550.c7
-rw-r--r--arch/ppc64/kernel/udbg_scc.c4
3 files changed, 3 insertions, 13 deletions
diff --git a/arch/ppc64/kernel/udbg.c b/arch/ppc64/kernel/udbg.c
index 2f82e7d..0716402 100644
--- a/arch/ppc64/kernel/udbg.c
+++ b/arch/ppc64/kernel/udbg.c
@@ -13,12 +13,9 @@
#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);
diff --git a/arch/ppc64/kernel/udbg_16550.c b/arch/ppc64/kernel/udbg_16550.c
index ffe19db..9313574 100644
--- a/arch/ppc64/kernel/udbg_16550.c
+++ b/arch/ppc64/kernel/udbg_16550.c
@@ -10,13 +10,8 @@
*/
#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);
diff --git a/arch/ppc64/kernel/udbg_scc.c b/arch/ppc64/kernel/udbg_scc.c
index c8ba8ac..c47fd6c 100644
--- a/arch/ppc64/kernel/udbg_scc.c
+++ b/arch/ppc64/kernel/udbg_scc.c
@@ -10,11 +10,9 @@
*/
#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>
OpenPOWER on IntegriCloud