summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-27 00:16:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-27 00:16:54 +0000
commitfe1a80c098d171e9bfcf2cb58eaf8796be46a45a (patch)
tree5f5e7cca7d8963acd186658788e071fbccc18ff7 /arch/mips64
parent20fa7e4ec02342c73bec73511be611ff0b46bf68 (diff)
More debris.
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/kernel/setup.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/mips64/kernel/setup.c b/arch/mips64/kernel/setup.c
index bc0f45e70..077a63034 100644
--- a/arch/mips64/kernel/setup.c
+++ b/arch/mips64/kernel/setup.c
@@ -36,13 +36,6 @@
#include <asm/system.h>
#include <asm/pgalloc.h>
-#ifdef CONFIG_SGI_IP27
-/* XXX Origin garbage has no business in this file */
-#include <linux/console.h>
-#include <asm/sgialib.h>
-#include <asm/sn/sn0/addrs.h>
-#endif
-
#ifndef CONFIG_SMP
struct cpuinfo_mips cpu_data[1];
#endif
@@ -110,25 +103,6 @@ extern char arcs_cmdline[CL_SIZE];
#ifdef CONFIG_SGI_IP27
/* XXX Origin garbage has no business in this file */
unsigned long mips_io_port_base = IO_BASE;
-
-static void ip27prom_console_write(struct console *con, const char *s, unsigned n)
-{
- prom_printf("%s", s);
-}
-
-static struct console ip27_prom_console = {
- "prom",
- ip27prom_console_write,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- CON_PRINTBUFFER,
- -1,
- 0,
- NULL
-};
#endif
extern void ip22_setup(void);
@@ -221,7 +195,4 @@ void __init setup_arch(char **cmdline_p)
pgd_set(swapper_pg_dir, kpmdtbl);
for (i = 0; i < (1 << KPTBL_PAGE_ORDER); pmd++,i++,pte+=PTRS_PER_PTE)
pmd_val(*pmd) = (unsigned long)pte;
-#ifdef CONFIG_SGI_IP27
-// register_console(&ip27_prom_console);
-#endif
}