mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
ACPI / NUMA: add a stub function for node_to_pxm()
There is already a stub function for pxm_to_node but conversion to the other direction is missing. It will be used by Microsoft Hypervisor code later. Signed-off-by: Wei Liu <wei.liu@kernel.org> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Acked-by: "Rafael J. Wysocki" <rafael@kernel.org> Link: https://lore.kernel.org/r/20210203150435.27941-9-wei.liu@kernel.org
This commit is contained in:
parent
80f73c9f74
commit
4f0455cf6f
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ static inline int pxm_to_node(int pxm)
|
|||
{
|
||||
return 0;
|
||||
}
|
||||
static inline int node_to_pxm(int node)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_ACPI_NUMA */
|
||||
|
||||
#ifdef CONFIG_ACPI_HMAT
|
||||
|
|
Loading…
Add table
Reference in a new issue