ANDROID: percpu: Export per_cpu_ptr_to_phys for loadable modules
per_cpu_ptr_to_phys symbols is needed for vendor loadable modules to find the per cpu physical address of symbols. Bug: 176125613 Change-Id: Ifc23a8a9cae8eb11c94107eb9b9237a838f830bc Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
This commit is contained in:

committed by
Todd Kjos

vanhempi
7c3239719b
commit
36abe273cf
@@ -2231,6 +2231,7 @@ phys_addr_t per_cpu_ptr_to_phys(void *addr)
|
||||
return page_to_phys(pcpu_addr_to_page(addr)) +
|
||||
offset_in_page(addr);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(per_cpu_ptr_to_phys);
|
||||
|
||||
/**
|
||||
* pcpu_alloc_alloc_info - allocate percpu allocation info
|
||||
|
Viittaa uudesa ongelmassa
Block a user