]> git.karo-electronics.de Git - linux-beck.git/commit
x86/PCI: Use NUMA_NO_NODE, not -1, for unknown node
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 21:51:49 +0000 (14:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Feb 2014 17:38:57 +0000 (10:38 -0700)
commit8a3d01c740ab5ce141af8ddeef23cecaa51d2710
treeeeb4db6a37c790b58729bab1ea96d67704cf6be3
parent3323ab8f7a2f8ffed9393388863bf17329077524
x86/PCI: Use NUMA_NO_NODE, not -1, for unknown node

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 uses of -1
to NUMA_NO_NODE.  NUMA_NO_NODE is #defined to be -1 already, so this is not
a functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/pci/acpi.c