diff options
-rw-r--r-- | arch/mips/mips-boards/atlas/atlas_setup.c | 4 | ||||
-rw-r--r-- | arch/mips/mips-boards/malta/malta_setup.c | 4 | ||||
-rw-r--r-- | include/asm-mips/mips-boards/generic.h | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/arch/mips/mips-boards/atlas/atlas_setup.c b/arch/mips/mips-boards/atlas/atlas_setup.c index 5ce800420012..5c500802271e 100644 --- a/arch/mips/mips-boards/atlas/atlas_setup.c +++ b/arch/mips/mips-boards/atlas/atlas_setup.c @@ -34,10 +34,6 @@ #include <asm/time.h> #include <asm/traps.h> -#ifdef CONFIG_KGDB -extern void kgdb_config(void); -#endif - static void __init serial_init(void); const char *get_system_type(void) diff --git a/arch/mips/mips-boards/malta/malta_setup.c b/arch/mips/mips-boards/malta/malta_setup.c index 3e2de0b8e2cf..8dacb6adb6db 100644 --- a/arch/mips/mips-boards/malta/malta_setup.c +++ b/arch/mips/mips-boards/malta/malta_setup.c @@ -35,10 +35,6 @@ #include <linux/console.h> #endif -#ifdef CONFIG_KGDB -extern void kgdb_config(void); -#endif - struct resource standard_io_resources[] = { { .name = "dma1", diff --git a/include/asm-mips/mips-boards/generic.h b/include/asm-mips/mips-boards/generic.h index 2ca6bda37d1c..1c39d339521e 100644 --- a/include/asm-mips/mips-boards/generic.h +++ b/include/asm-mips/mips-boards/generic.h @@ -105,4 +105,8 @@ extern void mips_pcibios_init(void); #define mips_pcibios_init() do { } while (0) #endif +#ifdef CONFIG_KGDB +extern void kgdb_config(void); +#endif + #endif /* __ASM_MIPS_BOARDS_GENERIC_H */ |