mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
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:
parent
f6948b188c
commit
395f2af180
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user