mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 23:23:18 +00:00
[MIPS] Mark prom_free_prom_memory as __init_refok
> WARNING: vmlinux.o(.text+0xbf20): Section mismatch: reference to > .init.text:prom_free_prom_memory (between 'free_initmem' and 'copy_from_user_page') prom_free_prom_memory() is called _before_ freeing init sections, so it is false positive. __init_refok can be used for such cases. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
9a0f3b7360
commit
fb4bb133ad
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void free_initmem(void)
|
void __init_refok free_initmem(void)
|
||||||
{
|
{
|
||||||
prom_free_prom_memory();
|
prom_free_prom_memory();
|
||||||
free_init_pages("unused kernel memory",
|
free_init_pages("unused kernel memory",
|
||||||
|
|
Loading…
Reference in a new issue