summaryrefslogtreecommitdiffstats
path: root/include/acpi/acpi_numa.h
diff options
context:
space:
mode:
authorRoss Zwisler <ross.zwisler@linux.intel.com>2017-07-22 00:51:23 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-07-24 22:27:43 +0200
commita0c2d9c1de0f6be33fe817069b06663277153c20 (patch)
tree2c9db2cf9a87fa5bd6f7c7b50fb9b81ae9e23cc0 /include/acpi/acpi_numa.h
parentLinux 4.13-rc2 (diff)
downloadlinux-a0c2d9c1de0f6be33fe817069b06663277153c20.tar.xz
linux-a0c2d9c1de0f6be33fe817069b06663277153c20.zip
ACPI: NUMA: add missing include in acpi_numa.h
Right now if a file includes acpi_numa.h and they don't happen to include linux/numa.h before it, they get the following warning: ./include/acpi/acpi_numa.h:9:5: warning: "MAX_NUMNODES" is not defined [-Wundef] #if MAX_NUMNODES > 256 ^~~~~~~~~~~~ Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpi_numa.h')
-rw-r--r--include/acpi/acpi_numa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpi_numa.h b/include/acpi/acpi_numa.h
index d4b72944ccda..1e3a74f94131 100644
--- a/include/acpi/acpi_numa.h
+++ b/include/acpi/acpi_numa.h
@@ -3,6 +3,7 @@
#ifdef CONFIG_ACPI_NUMA
#include <linux/kernel.h>
+#include <linux/numa.h>
/* Proximity bitmap length */
#if MAX_NUMNODES > 256