summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64/kernel/setup.c')
-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
}