Thread (1 message) 1 message, 1 author, 2019-09-23

Re: [PATCH RFC v3 1/9] ACPI: NUMA: export pxm_to_node

From: David Hildenbrand <hidden>
Date: 2019-09-23 10:13:11

On 19.09.19 16:22, David Hildenbrand wrote:
quoted hunk
Will be needed by virtio-mem to identify the node from a pxm.

Cc: "Rafael J. Wysocki" <redacted>
Cc: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org
Signed-off-by: David Hildenbrand <redacted>
---
 drivers/acpi/numa.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c
index eadbf90e65d1..d5847fa7ac69 100644
--- a/drivers/acpi/numa.c
+++ b/drivers/acpi/numa.c
@@ -35,6 +35,7 @@ int pxm_to_node(int pxm)
 		return NUMA_NO_NODE;
 	return pxm_to_node_map[pxm];
 }
+EXPORT_SYMBOL(pxm_to_node);
FWIW, this is a fairly old patch I dragged along and I think I'll
convert this to EXPORT_SYMBOL_GPL now that I know better :)
 
 int node_to_pxm(int node)
 {

-- 

Thanks,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help