ia64 / sba_iommu: Use NUMA_NO_NODE, not MAX_NUMNODES, for unknown node
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 21:42:33 +0000 (14:42 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Feb 2014 17:39:09 +0000 (10:39 -0700)
commit10ee3d7032562d6094d3ee7de84af93fcc0250c7
tree06a24a697affbe83fbc7e95d2fef2cb8e1ece55f
parentab6ffce35b2cd1f558fce954d38a7ee7ffa9c415
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>
arch/ia64/hp/common/sba_iommu.c