ia64/xen-unstable

view linux-2.6-xen-sparse/arch/ia64/xen/xenconsole.c @ 7737:424e28ebc882

Turn off duplicate console output (by Alex Williamson)
author djm@kirby.fc.hp.com
date Thu Nov 17 10:28:45 2005 -0600 (2005-11-17)
parents 3b6d422fc0be
children c2aedb26d124
line source
1 #include <linux/config.h>
2 #include <linux/console.h>
4 int
5 early_xen_console_setup (char *cmdline)
6 {
7 #ifdef CONFIG_XEN
8 #ifndef CONFIG_IA64_HP_SIM
9 extern int running_on_xen;
10 if (running_on_xen) {
11 extern struct console hpsim_cons;
12 hpsim_cons.flags |= CON_BOOT;
13 register_console(&hpsim_cons);
14 return 0;
15 }
16 #endif
17 #endif
18 return -1;
19 }