WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Parse all ACPI MADT entries, not just NR_CPUS (by Alex W

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Nov 2005 12:58:12 +0000
Delivery-date: Sun, 20 Nov 2005 12:59:11 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID ec2ab25dacee63507c848cc1fd7542340326653c
# Parent  424e28ebc8822d6b5cc46776e4b7f52712824351
Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson)

diff -r 424e28ebc882 -r ec2ab25dacee xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c        Thu Nov 17 16:28:45 2005
+++ b/xen/arch/ia64/xen/dom_fw.c        Thu Nov 17 16:32:22 2005
@@ -466,11 +466,8 @@
 /* base is physical address of acpi table */
 void touch_acpi_table(void)
 {
-       u64 count = 0;
-       count = acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 
NR_CPUS);
-       if ( count < 1)
+       if (acpi_table_parse_madt(ACPI_MADT_LSAPIC, acpi_update_lsapic, 0) < 0)
                printk("Error parsing MADT - no LAPIC entires\n");
-       printk("Total %d lsapic entry\n", count);
        acpi_table_parse(ACPI_APIC, acpi_update_madt_checksum);
 
        return;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson), Xen patchbot -unstable <=