提交 aa816c1b 编写于 作者: A Aaro Koskinen 提交者: Ralf Baechle

MIPS: mark prom_free_prom_memory() everywhere with __init

On OCTEON the function is non-trivial and we can potentially even save
some memory.
Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: NDavid Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9338/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 f45e388f
......@@ -1049,7 +1049,7 @@ int prom_putchar(char c)
}
EXPORT_SYMBOL(prom_putchar);
void prom_free_prom_memory(void)
void __init prom_free_prom_memory(void)
{
if (CAVIUM_OCTEON_DCACHE_PREFETCH_WAR) {
/* Check for presence of Core-14449 fix. */
......
......@@ -41,7 +41,7 @@ int ltq_soc_type(void)
return soc_info.type;
}
void prom_free_prom_memory(void)
void __init prom_free_prom_memory(void)
{
}
......
......@@ -147,6 +147,6 @@ void __init prom_init(void)
#endif
}
void prom_free_prom_memory(void)
void __init prom_free_prom_memory(void)
{
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册