ia64/xen-unstable

changeset 18287:b086089f4643

[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@hp.com>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Aug 11 10:59:39 2008 +0900 (2008-08-11)
parents 3f9d904d92c4
children d24bc5f549ba
files xen/arch/ia64/xen/dom_fw_dom0.c
line diff
     1.1 --- a/xen/arch/ia64/xen/dom_fw_dom0.c	Fri Aug 08 11:38:21 2008 +0900
     1.2 +++ b/xen/arch/ia64/xen/dom_fw_dom0.c	Mon Aug 11 10:59:39 2008 +0900
     1.3 @@ -154,6 +154,8 @@ acpi_restore_tables()
     1.4  
     1.5  static int __init __acpi_table_disable(struct acpi_table_header *header)
     1.6  {
     1.7 +	printk("Disabling ACPI table: %4.4s\n", header->signature);
     1.8 +
     1.9  	memcpy(header->oem_id, "xxxxxx", 6);
    1.10  	memcpy(header->oem_id+1, header->signature, 4);
    1.11  	memcpy(header->oem_table_id, "Xen     ", 8);
    1.12 @@ -161,7 +163,6 @@ static int __init __acpi_table_disable(s
    1.13  	header->checksum = 0;
    1.14  	header->checksum = -acpi_tb_checksum((u8*)header, header->length);
    1.15  
    1.16 -	printk("Successfully Disabling %s\n", header->signature);
    1.17  	return 0;
    1.18  }
    1.19