commit | 10ee3d7032562d6094d3ee7de84af93fcc0250c7 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Jan 24 14:42:33 2014 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Feb 03 10:39:09 2014 -0700 |
tree | 06a24a697affbe83fbc7e95d2fef2cb8e1ece55f | |
parent | ab6ffce35b2cd1f558fce954d38a7ee7ffa9c415 [diff] |
ia64 / sba_iommu: Use NUMA_NO_NODE, not MAX_NUMNODES, for unknown node MAX_NUMNODES is typically used for sizing arrays. NUMA_NO_NODE is the usual value for "we don't know what node this is on," e.g., it is the error return from acpi_get_node(). This changes the ioc->node value for unknown nodes from MAX_NUMNODES to NUMA_NO_NODE. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>