Fix the NUMA build for non-x86 platforms.
acpi_map_pxm_to_vm_domainid() is currently implemented only on x86. MFC after: 1 week
This commit is contained in:
parent
51bc8d25a4
commit
6243836bcf
@ -1090,6 +1090,7 @@ static int
|
||||
acpi_parse_pxm(device_t dev)
|
||||
{
|
||||
#ifdef NUMA
|
||||
#if defined(__i386__) || defined(__amd64__)
|
||||
ACPI_HANDLE handle;
|
||||
ACPI_STATUS status;
|
||||
int pxm;
|
||||
@ -1102,6 +1103,7 @@ acpi_parse_pxm(device_t dev)
|
||||
return (acpi_map_pxm_to_vm_domainid(pxm));
|
||||
if (status == AE_NOT_FOUND)
|
||||
return (-2);
|
||||
#endif
|
||||
#endif
|
||||
return (-1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user