[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] fix serial console detection issue caused by cfbc535ebf6f



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1215395656 -32400
# Node ID 00721ef8d8ef3fee031faf974682ba91c5d67ef6
# Parent  ac8bc814faba7f32d575a4530cc23529f17ad790
[IA64] fix serial console detection issue caused by cfbc535ebf6f

This patch fixes serial console detection failure caused by the
changeset cfbc535ebf6f.
The changeset changed struct efi's members value from xen virtual
address to physical address and from NULL to EFI_INVALID_TABLE_ADDR
for non existing table. One check was missed.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/linux-xen/setup.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ac8bc814faba -r 00721ef8d8ef xen/arch/ia64/linux-xen/setup.c
--- a/xen/arch/ia64/linux-xen/setup.c   Wed Jul 02 18:28:28 2008 +0900
+++ b/xen/arch/ia64/linux-xen/setup.c   Mon Jul 07 10:54:16 2008 +0900
@@ -362,7 +362,7 @@ acpi_oem_console_setup(void)
        int i;
 
        /* Don't duplicate setup if an HCDP table is present */
-       if (efi.hcdp)
+       if (efi.hcdp != EFI_INVALID_TABLE_ADDR)
                return -ENODEV;
 
        /* Manually walk firmware provided tables to get to the XSDT.  */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.