Commit 188d2ce78feac67e41e41808acda7951810f677b
Committed by
Paul Mackerras
1 parent
c8f1c8be62
Exists in
master
and in
4 other branches
[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>
Showing 3 changed files with 3 additions and 13 deletions Side-by-side Diff
arch/ppc64/kernel/udbg.c
| ... | ... | @@ -13,12 +13,9 @@ |
| 13 | 13 | #define WANT_PPCDBG_TAB /* Only defined here */ |
| 14 | 14 | #include <linux/config.h> |
| 15 | 15 | #include <linux/types.h> |
| 16 | +#include <linux/sched.h> | |
| 16 | 17 | #include <asm/ppcdebug.h> |
| 17 | 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 | 20 | void (*udbg_putc)(unsigned char c); |
| 24 | 21 | unsigned char (*udbg_getc)(void); |
arch/ppc64/kernel/udbg_16550.c
| ... | ... | @@ -10,13 +10,8 @@ |
| 10 | 10 | */ |
| 11 | 11 | #include <linux/config.h> |
| 12 | 12 | #include <linux/types.h> |
| 13 | -#include <asm/ppcdebug.h> | |
| 14 | -#include <asm/processor.h> | |
| 15 | -#include <asm/naca.h> | |
| 16 | -#include <asm/uaccess.h> | |
| 17 | -#include <asm/machdep.h> | |
| 13 | +#include <asm/udbg.h> | |
| 18 | 14 | #include <asm/io.h> |
| 19 | -#include <asm/prom.h> | |
| 20 | 15 | |
| 21 | 16 | extern u8 real_readb(volatile u8 __iomem *addr); |
| 22 | 17 | extern void real_writeb(u8 data, volatile u8 __iomem *addr); |
arch/ppc64/kernel/udbg_scc.c
| ... | ... | @@ -10,11 +10,9 @@ |
| 10 | 10 | */ |
| 11 | 11 | #include <linux/config.h> |
| 12 | 12 | #include <linux/types.h> |
| 13 | -#include <asm/ppcdebug.h> | |
| 13 | +#include <asm/udbg.h> | |
| 14 | 14 | #include <asm/processor.h> |
| 15 | 15 | #include <asm/naca.h> |
| 16 | -#include <asm/uaccess.h> | |
| 17 | -#include <asm/machdep.h> | |
| 18 | 16 | #include <asm/io.h> |
| 19 | 17 | #include <asm/prom.h> |
| 20 | 18 | #include <asm/pmac_feature.h> |