aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/numa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/numa.c')
-rw-r--r--drivers/acpi/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c
index e5e448edca41..bd96a7045925 100644
--- a/drivers/acpi/numa.c
+++ b/drivers/acpi/numa.c
@@ -248,7 +248,7 @@ int acpi_get_pxm(acpi_handle h)
248 handle = phandle; 248 handle = phandle;
249 status = acpi_evaluate_integer(handle, "_PXM", NULL, &pxm); 249 status = acpi_evaluate_integer(handle, "_PXM", NULL, &pxm);
250 if (ACPI_SUCCESS(status)) 250 if (ACPI_SUCCESS(status))
251 return (int)pxm; 251 return pxm;
252 status = acpi_get_parent(handle, &phandle); 252 status = acpi_get_parent(handle, &phandle);
253 } while (ACPI_SUCCESS(status)); 253 } while (ACPI_SUCCESS(status));
254 return -1; 254 return -1;