From b087eed994c169e330f286bf00d6d6a0e8664a4c Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Mon, 11 Aug 2008 10:59:39 +0900 Subject: [PATCH] [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 --- xen/arch/ia64/xen/dom_fw_dom0.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2