提交 486c79b5 编写于 作者: B Bjorn Helgaas

ACPI / numa: Fix acpi_get_node() prototype

acpi_get_node() takes an acpi_handle, not an "acpi_handle *".  This
fixes the prototype and the definitions.
Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
Acked-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 b1e9cee7
...@@ -331,7 +331,7 @@ int acpi_get_pxm(acpi_handle h) ...@@ -331,7 +331,7 @@ int acpi_get_pxm(acpi_handle h)
return -1; return -1;
} }
int acpi_get_node(acpi_handle *handle) int acpi_get_node(acpi_handle handle)
{ {
int pxm, node = NUMA_NO_NODE; int pxm, node = NUMA_NO_NODE;
......
...@@ -260,13 +260,13 @@ extern void acpi_osi_setup(char *str); ...@@ -260,13 +260,13 @@ extern void acpi_osi_setup(char *str);
#ifdef CONFIG_ACPI_NUMA #ifdef CONFIG_ACPI_NUMA
int acpi_get_pxm(acpi_handle handle); int acpi_get_pxm(acpi_handle handle);
int acpi_get_node(acpi_handle *handle); int acpi_get_node(acpi_handle handle);
#else #else
static inline int acpi_get_pxm(acpi_handle handle) static inline int acpi_get_pxm(acpi_handle handle)
{ {
return 0; return 0;
} }
static inline int acpi_get_node(acpi_handle *handle) static inline int acpi_get_node(acpi_handle handle)
{ {
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册