mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: mm/memblock: export memblock_end_of_DRAM
Export memblock_end_of_DRAM() so that module drivers can know the physical end address of memory blocks that system booted with. Bug: 174547201 Change-Id: Ib0c90b736f16d1abbf47d4f3288443c35f9e17b4 Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
This commit is contained in:
parent
35042a2a91
commit
5d835560a3
1 changed files with 1 additions and 0 deletions
|
|
@ -1626,6 +1626,7 @@ phys_addr_t __init_memblock memblock_end_of_DRAM(void)
|
|||
|
||||
return (memblock.memory.regions[idx].base + memblock.memory.regions[idx].size);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(memblock_end_of_DRAM);
|
||||
|
||||
static phys_addr_t __init_memblock __find_max_addr(phys_addr_t limit)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue