diff options
author | Ross Zwisler <ross.zwisler@linux.intel.com> | 2017-07-21 16:51:23 -0600 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2017-07-24 22:27:43 +0200 |
commit | a0c2d9c1de0f6be33fe817069b06663277153c20 (patch) | |
tree | 2c9db2cf9a87fa5bd6f7c7b50fb9b81ae9e23cc0 /include | |
parent | 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 (diff) | |
download | linux-stable-a0c2d9c1de0f6be33fe817069b06663277153c20.tar.gz linux-stable-a0c2d9c1de0f6be33fe817069b06663277153c20.tar.bz2 linux-stable-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')
-rw-r--r-- | include/acpi/acpi_numa.h | 1 |
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 |