From f45512d78f1740ced58abdb24f7daa9b1ecdfcf6 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Wed, 23 Jan 2008 15:15:34 -0200 Subject: [PATCH] Disable the weird count loop on kcons_write_dom0() Signed-off-by: Eduardo Habkost --- arch/x86/xen/enlighten.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 83aaa69..b46529a 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c @@ -149,6 +149,7 @@ static void __init xen_vcpu_setup(int cpu) static void kcons_write_dom0(const char *s, unsigned int count) { +#if 0 int rc; while ((count > 0) && @@ -157,6 +158,9 @@ static void kcons_write_dom0(const char *s, unsigned int count) count -= rc; s += rc; } +#else + HYPERVISOR_console_io(CONSOLEIO_write, count, (char *)s); +#endif } -- 1.5.4.1