1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00

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:
Mark Johnston 2018-06-04 14:56:02 +00:00
parent fdb600af60
commit bcc51ef48d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334616

View File

@ -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);
}