|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [PATCH] fix serial console detection failure caused by
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1215135417 -32400
# Node ID c693df9b6d554d4af85026e4c493858c92757301
# Parent ac8bc814faba7f32d575a4530cc23529f17ad790
[IA64] fix serial console detection failure 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 to change.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff --git a/xen/arch/ia64/linux-xen/setup.c b/xen/arch/ia64/linux-xen/setup.c
--- a/xen/arch/ia64/linux-xen/setup.c
+++ b/xen/arch/ia64/linux-xen/setup.c
@@ -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. */
--
yamahata
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-ia64-devel] [PATCH] fix serial console detection failure caused by cfbc535ebf6f,
Isaku Yamahata <=
|
|
|
|
|