Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1114-2.6.25-xen-Disable-the-weird-count-loop-on-kcons_write_dom0.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (show annotations) (download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 956 byte(s)
-ver bump to 2.6.25-magellan-r1:
- linux-2.6.25.4
- fbcondecor-0.9.4
- squashfs-3.3
- unionfs-2.3.3
- tuxonice-3.0-rc7
- linux-phc-0.3.0
- acpi-dstd-0.9a
- reiser4
- xen-3.2.0
. ipw3945-1.2.2

1 From f45512d78f1740ced58abdb24f7daa9b1ecdfcf6 Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Wed, 23 Jan 2008 15:15:34 -0200
4 Subject: [PATCH] Disable the weird count loop on kcons_write_dom0()
5
6 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 ---
8 arch/x86/xen/enlighten.c | 4 ++++
9 1 files changed, 4 insertions(+), 0 deletions(-)
10
11 diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
12 index 83aaa69..b46529a 100644
13 --- a/arch/x86/xen/enlighten.c
14 +++ b/arch/x86/xen/enlighten.c
15 @@ -149,6 +149,7 @@ static void __init xen_vcpu_setup(int cpu)
16
17 static void kcons_write_dom0(const char *s, unsigned int count)
18 {
19 +#if 0
20 int rc;
21
22 while ((count > 0) &&
23 @@ -157,6 +158,9 @@ static void kcons_write_dom0(const char *s, unsigned int count)
24 count -= rc;
25 s += rc;
26 }
27 +#else
28 + HYPERVISOR_console_io(CONSOLEIO_write, count, (char *)s);
29 +#endif
30 }
31
32
33 --
34 1.5.4.1
35