ACPI: Only count valid srat memory structures
authorThomas Renninger <trenn@suse.de>
Tue, 31 Jul 2012 15:41:09 +0000 (17:41 +0200)
committerLen Brown <len.brown@intel.com>
Fri, 3 Aug 2012 04:15:53 +0000 (00:15 -0400)
Otherwise you could run into:
WARN_ON in numa_register_memblks(), because node_possible_map is zero

References: https://bugzilla.novell.com/show_bug.cgi?id=757888

On this machine (ProLiant ML570 G3) the SRAT table contains:
  - No processor affinities
  - One memory affinity structure (which is set disabled)

CC: Per Jessen <per@opensuse.org>
CC: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found