The extra (bogus) level of indirection worked only because acpi_handle itself is a pointer to void. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- drivers/acpi/numa.c | 2 +- include/linux/acpi.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- 2.6.39-rc5/drivers/acpi/numa.c +++ 2.6.39-rc5-acpi-get-node/drivers/acpi/numa.c @@ -320,7 +320,7 @@ int acpi_get_pxm(acpi_handle h) return -1; } -int acpi_get_node(acpi_handle *handle) +int acpi_get_node(acpi_handle handle) { int pxm, node = -1; --- 2.6.39-rc5/include/linux/acpi.h +++ 2.6.39-rc5-acpi-get-node/include/linux/acpi.h @@ -223,13 +223,13 @@ extern void acpi_osi_setup(char *str); #ifdef CONFIG_ACPI_NUMA int acpi_get_pxm(acpi_handle handle); -int acpi_get_node(acpi_handle *handle); +int acpi_get_node(acpi_handle handle); #else static inline int acpi_get_pxm(acpi_handle handle) { return 0; } -static inline int acpi_get_node(acpi_handle *handle) +static inline int acpi_get_node(acpi_handle handle) { return 0; } -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html