diff options
-rw-r--r-- | arch/ppc64/kernel/udbg.c | 5 | ||||
-rw-r--r-- | arch/ppc64/kernel/udbg_16550.c | 7 | ||||
-rw-r--r-- | arch/ppc64/kernel/udbg_scc.c | 4 |
3 files changed, 3 insertions, 13 deletions
diff --git a/arch/ppc64/kernel/udbg.c b/arch/ppc64/kernel/udbg.c index 2f82e7d7902b..07164020f3a9 100644 --- a/arch/ppc64/kernel/udbg.c +++ b/arch/ppc64/kernel/udbg.c | |||
@@ -13,12 +13,9 @@ | |||
13 | #define WANT_PPCDBG_TAB /* Only defined here */ | 13 | #define WANT_PPCDBG_TAB /* Only defined here */ |
14 | #include <linux/config.h> | 14 | #include <linux/config.h> |
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | #include <linux/sched.h> | ||
16 | #include <asm/ppcdebug.h> | 17 | #include <asm/ppcdebug.h> |
17 | #include <asm/processor.h> | 18 | #include <asm/processor.h> |
18 | #include <asm/uaccess.h> | ||
19 | #include <asm/machdep.h> | ||
20 | #include <asm/io.h> | ||
21 | #include <asm/prom.h> | ||
22 | 19 | ||
23 | void (*udbg_putc)(unsigned char c); | 20 | void (*udbg_putc)(unsigned char c); |
24 | unsigned char (*udbg_getc)(void); | 21 | unsigned char (*udbg_getc)(void); |
diff --git a/arch/ppc64/kernel/udbg_16550.c b/arch/ppc64/kernel/udbg_16550.c index ffe19dbecd97..9313574ab935 100644 --- a/arch/ppc64/kernel/udbg_16550.c +++ b/arch/ppc64/kernel/udbg_16550.c | |||
@@ -10,13 +10,8 @@ | |||
10 | */ | 10 | */ |
11 | #include <linux/config.h> | 11 | #include <linux/config.h> |
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | #include <asm/ppcdebug.h> | 13 | #include <asm/udbg.h> |
14 | #include <asm/processor.h> | ||
15 | #include <asm/naca.h> | ||
16 | #include <asm/uaccess.h> | ||
17 | #include <asm/machdep.h> | ||
18 | #include <asm/io.h> | 14 | #include <asm/io.h> |
19 | #include <asm/prom.h> | ||
20 | 15 | ||
21 | extern u8 real_readb(volatile u8 __iomem *addr); | 16 | extern u8 real_readb(volatile u8 __iomem *addr); |
22 | extern void real_writeb(u8 data, volatile u8 __iomem *addr); | 17 | 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 c8ba8ac287f0..c47fd6c63531 100644 --- a/arch/ppc64/kernel/udbg_scc.c +++ b/arch/ppc64/kernel/udbg_scc.c | |||
@@ -10,11 +10,9 @@ | |||
10 | */ | 10 | */ |
11 | #include <linux/config.h> | 11 | #include <linux/config.h> |
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | #include <asm/ppcdebug.h> | 13 | #include <asm/udbg.h> |
14 | #include <asm/processor.h> | 14 | #include <asm/processor.h> |
15 | #include <asm/naca.h> | 15 | #include <asm/naca.h> |
16 | #include <asm/uaccess.h> | ||
17 | #include <asm/machdep.h> | ||
18 | #include <asm/io.h> | 16 | #include <asm/io.h> |
19 | #include <asm/prom.h> | 17 | #include <asm/prom.h> |
20 | #include <asm/pmac_feature.h> | 18 | #include <asm/pmac_feature.h> |