diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-02-23 04:42:58 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-08 22:45:36 +0200 |
commit | 58deeb4ef3b054498747d0929d94ac53ab90981f (patch) | |
tree | 2a811d18d520dde53b389d7cee564d4f8b61f66c /net/rfkill | |
parent | delayacct: improve the average delay precision of getdelay tool to microsecond (diff) | |
download | linux-58deeb4ef3b054498747d0929d94ac53ab90981f.tar.xz linux-58deeb4ef3b054498747d0929d94ac53ab90981f.zip |
ia64: mm/contig: fix section mismatch warning/error
alloc_per_cpu_data() is called by find_memory(), which is marked as
__init. Therefore alloc_per_cpu_data() can also be marked as __init to
remedy this modpost problem.
WARNING: modpost: vmlinux.o: section mismatch in reference: alloc_per_cpu_data (section: .text) -> memblock_alloc_try_nid (section: .init.text)
Link: https://lkml.kernel.org/r/20230223034258.12917-1-rdunlap@infradead.org
Fixes: 4b9ddc7cf272 ("[IA64] Fix section mismatch in contig.c version of per_cpu_init()")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net/rfkill')
0 files changed, 0 insertions, 0 deletions