From: Isaku Yamahata Date: Mon, 11 Aug 2008 01:59:39 +0000 (+0900) Subject: [IA64] Print ACPI signature before overwriting it X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14160 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b087eed994c169e330f286bf00d6d6a0e8664a4c;p=xen.git [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 --- diff --git a/xen/arch/ia64/xen/dom_fw_dom0.c b/xen/arch/ia64/xen/dom_fw_dom0.c index 383845f3d4..91ec3bb1a7 100644 --- a/xen/arch/ia64/xen/dom_fw_dom0.c +++ b/xen/arch/ia64/xen/dom_fw_dom0.c @@ -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(struct acpi_table_header *header) header->checksum = 0; header->checksum = -acpi_tb_checksum((u8*)header, header->length); - printk("Successfully Disabling %s\n", header->signature); return 0; }