]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: NUMA: add missing include in acpi_numa.h
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Fri, 21 Jul 2017 22:51:23 +0000 (16:51 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 24 Jul 2017 20:27:43 +0000 (22:27 +0200)
commita0c2d9c1de0f6be33fe817069b06663277153c20
tree2c9db2cf9a87fa5bd6f7c7b50fb9b81ae9e23cc0
parent520eccdfe187591a51ea9ab4c1a024ae4d0f68d9
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>
include/acpi/acpi_numa.h