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

[Xen-changelog] [xen-unstable] [IA64] Print ACPI signature before overwriting it



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1218419979 -32400
# Node ID b086089f46432fccbc3f9b928217cf3eae385ebf
# Parent  3f9d904d92c491f02d5f8ff6104efdabab10a384
[IA64] Print ACPI signature before overwriting it

We're printing out the ACPI table signature after we overwrite it
with "OEMx".  Let's print it out before so we know that the table was.
Also limit print to 4 chars so we don't get garbage output.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 xen/arch/ia64/xen/dom_fw_dom0.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 3f9d904d92c4 -r b086089f4643 xen/arch/ia64/xen/dom_fw_dom0.c
--- a/xen/arch/ia64/xen/dom_fw_dom0.c   Fri Aug 08 11:38:21 2008 +0900
+++ b/xen/arch/ia64/xen/dom_fw_dom0.c   Mon Aug 11 10:59:39 2008 +0900
@@ -154,6 +154,8 @@ acpi_restore_tables()
 
 static int __init __acpi_table_disable(struct acpi_table_header *header)
 {
+       printk("Disabling ACPI table: %4.4s\n", header->signature);
+
        memcpy(header->oem_id, "xxxxxx", 6);
        memcpy(header->oem_id+1, header->signature, 4);
        memcpy(header->oem_table_id, "Xen     ", 8);
@@ -161,7 +163,6 @@ static int __init __acpi_table_disable(s
        header->checksum = 0;
        header->checksum = -acpi_tb_checksum((u8*)header, header->length);
 
-       printk("Successfully Disabling %s\n", header->signature);
        return 0;
 }
 

_______________________________________________
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®.