summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorFaiyaz Mohammed <faiyazm@codeaurora.org>2020-11-16 17:05:37 +0530
committerMike Rapoport <rppt@linux.ibm.com>2020-11-17 17:38:25 +0200
commit5bdba520c1b318578caffd325515b35d187f8a0e (patch)
tree2f4ab3d27850a49e41ed14a7fceb9ba46f727a8d /mm
parentb5cf2d6c814829b623ccedce88d94e7bfe35cb2c (diff)
mm: memblock: drop __init from memblock functions to make it inline
__init is used with inline due to which memblock wraper functions are not getting inline. for example: [ 0.000000] memblock_alloc_try_nid: 1490 bytes align=0x40 nid=-1 from=0x0000000000000000 max_addr=0x0000000000000000 memblock_alloc+0x20/0x2c [ 0.000000] memblock_reserve: [0x000000023f09a3c0-0x000000023f09a991] memblock_alloc_range_nid+0xc0/0x188 Dropping __init from memblock wrapper functions to make it inline and it increase the debugability. After: [ 0.000000] memblock_alloc_try_nid: 1490 bytes align=0x40 nid=-1 from=0x0000000000000000 max_addr=0x0000000000000000 start_kernel+0xa4/0x568 [ 0.000000] memblock_reserve: [0x000000023f09a3c0-0x000000023f09a991] memblock_alloc_range_nid+0xc0/0x188 Signed-off-by: Faiyaz Mohammed <faiyazm@codeaurora.org> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions