summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2015-04-19 17:15:55 +0000
committeradrian <adrian@FreeBSD.org>2015-04-19 17:15:55 +0000
commita189b7bcb9c05b4bbb8dccdd56be333b64af829a (patch)
tree7bc619a4c252229f2646ef2e248a11eeab2ef703 /sys/dev/acpica/acpivar.h
parentfcf33fcbb316167fae9449270a574fa383b825f2 (diff)
downloadFreeBSD-src-a189b7bcb9c05b4bbb8dccdd56be333b64af829a.zip
FreeBSD-src-a189b7bcb9c05b4bbb8dccdd56be333b64af829a.tar.gz
Refactor out the _PXM -> VM domain lookup done in ACPI, in preparation for
its use in upcoming code. This is inspired by something in jhb's NUMA IRQ allocation patchset. However, the tricky bit here is that the PXM lookup for a node may fail, requiring a lookup on the parent node. So if it doesn't exist, don't fail - just go up to the parent. Only error out of the lookup is the ACPI lookup returns an error. Sponsored by: Norse Corp, Inc.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 81b8a61..2e2b96d 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -500,8 +500,8 @@ SYSCTL_DECL(_debug_acpi);
#if MAXMEMDOM > 1
extern int acpi_map_pxm_to_vm_domainid(int pxm);
#endif
-
extern int acpi_get_domain(device_t dev, device_t child, int *domain);
+extern int acpi_parse_pxm(device_t dev, int *domain);
#endif /* _KERNEL */
#endif /* !_ACPIVAR_H_ */
OpenPOWER on IntegriCloud