It's pointless on laptops to look for the SRAT table as these are not
NUMA.  Check the number of possible nodes is > 1 to decide whether to
look for SRAT.
Suggested-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        sub_type_hdr->proximity_domain_from = proximity_domain;
 
 #ifdef CONFIG_ACPI_NUMA
-       if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE)
+       if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE &&
+           num_possible_nodes() > 1)
                kfd_find_numa_node_in_srat(kdev);
 #endif
 #ifdef CONFIG_NUMA