summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/kernel/setup.c1
-rw-r--r--arch/sparc/kernel/setup.c1
-rw-r--r--arch/sparc64/mm/init.c10
3 files changed, 0 insertions, 12 deletions
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c
index 31fedf778cd6..50677a4277e2 100644
--- a/arch/m68k/kernel/setup.c
+++ b/arch/m68k/kernel/setup.c
@@ -39,7 +39,6 @@
#endif
#ifdef CONFIG_SUN3X
#include <asm/dvma.h>
-extern void sun_serial_setup(void);
#endif
unsigned long m68k_machtype;
diff --git a/arch/sparc/kernel/setup.c b/arch/sparc/kernel/setup.c
index c64eec472161..b5ab596471d2 100644
--- a/arch/sparc/kernel/setup.c
+++ b/arch/sparc/kernel/setup.c
@@ -233,7 +233,6 @@ extern char cputypval;
extern unsigned long start, end;
extern void panic_setup(char *, int *);
extern void srmmu_end_memory(unsigned long, unsigned long *);
-extern void sun_serial_setup(void);
extern unsigned short root_flags;
extern unsigned short root_dev;
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index dc0a51a93e8c..2d8083619b64 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -1423,7 +1423,6 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
/* paging_init() sets up the page tables */
-extern void sun_serial_setup(void);
extern void cheetah_ecache_flush_init(void);
static unsigned long last_valid_pfn;
@@ -1548,15 +1547,6 @@ void __init paging_init(void)
inherit_locked_prom_mappings(1);
-#ifdef CONFIG_SUN_SERIAL
- /* This does not logically belong here, but we need to call it at
- * the moment we are able to use the bootmem allocator. This _has_
- * to be done after the prom_mappings above so since
- * __alloc_bootmem() doesn't work correctly until then.
- */
- sun_serial_setup();
-#endif
-
/* We only created DTLB mapping of this stuff. */
spitfire_flush_dtlb_nucleus_page(alias_base);
if (second_alias_page)