diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-24 22:42:33 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 18:39:09 +0100 |
commit | 10ee3d7032562d6094d3ee7de84af93fcc0250c7 (patch) | |
tree | 06a24a697affbe83fbc7e95d2fef2cb8e1ece55f /arch/ia64/include/asm/pci.h | |
parent | x86/PCI: Remove acpi_get_pxm() usage (diff) | |
download | linux-10ee3d7032562d6094d3ee7de84af93fcc0250c7.tar.xz linux-10ee3d7032562d6094d3ee7de84af93fcc0250c7.zip |
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>
Diffstat (limited to 'arch/ia64/include/asm/pci.h')
0 files changed, 0 insertions, 0 deletions