[IA64] Cleanup ACPI checksum warnings
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 8 Aug 2008 02:38:20 +0000 (11:38 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 8 Aug 2008 02:38:20 +0000 (11:38 +0900)
commitbd339968b8b2a6a5a7e84a0315693059cf295f36
tree6ab4f1ecc20f887f014f8f056773c8d3ffd46050
parentbd2f7cf2517f7839367859ccf7434d4085d3386a
[IA64] Cleanup ACPI checksum warnings

On bootup, I get a couple of these:

(XEN) ACPI Warning (tbutils-0219): Incorrect checksum in table [APIC] - CE, should be 04 [20070126]
(XEN) ACPI Warning (tbutils-0219): Incorrect checksum in table [APIC] - CE, should be 04 [20070126]

I don't remember seeing them before, but they're pretty easy to fix.
The problem is we update the lsapics, causing the checksum to be wrong,
then we look for platform interrupt sources, which spits out a warning,
and finally we look for the MADT again to fix the checksum, which also
prints a warning.  If we grab a pointer to the MADT before these, we can
update the checksum after each step and avoid the warnings.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/xen/dom_fw_dom0.c