]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/acpi/numa.c
cpumask: use mm_cpumask() wrapper: kernel/fork.c
[linux-2.6-omap-h63xx.git] / drivers / acpi / numa.c
index c5e292aab0e34c77f94d1089942ebba06ffcd3d8..3a0d8ef25c75c453175377236f9f56e731d53182 100644 (file)
@@ -277,7 +277,7 @@ int acpi_get_node(acpi_handle *handle)
        int pxm, node = -1;
 
        pxm = acpi_get_pxm(handle);
-       if (pxm >= 0)
+       if (pxm >= 0 && pxm < MAX_PXM_DOMAINS)
                node = acpi_map_pxm_to_node(pxm);
 
        return node;