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: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/9338/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
f45e388ff0
commit
aa816c1b39
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue