diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-28 00:23:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-28 00:23:32 +0200 |
commit | 7ded384a12688c2a86b618da16bc87713404dfcc (patch) | |
tree | ddfb19e97fe455c6826b3a4de136195bde184338 /net/9p | |
parent | Merge branch 'akpm' (patches from Andrew) (diff) | |
download | linux-7ded384a12688c2a86b618da16bc87713404dfcc.tar.xz linux-7ded384a12688c2a86b618da16bc87713404dfcc.zip |
mm: fix section mismatch warning
The register_page_bootmem_info_node() function needs to be marked __init
in order to avoid a new warning introduced by commit f65e91df25aa ("mm:
use early_pfn_to_nid in register_page_bootmem_info_node").
Otherwise you'll get a warning about how a non-init function calls
early_pfn_to_nid (which is __meminit)
Cc: Yang Shi <yang.shi@linaro.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions