MIPS: Use __cpuinit for mips_probe_watch_registers.
PATCH 1/1 MIPS: Use __cpuinit for mips_probe_watch_registers.
Use __cpuinit for mips_probe_watch_registers.
This function is called whenever a cpu is added, it cannot be __init.
Signed-off-by David Daney <[email protected]>
---arch/mips/kernel/watch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
arch/mips/kernel/watch.c +0 -0
@@ -100,7 +100,7 @@ void mips_clear_watch_registers(void)
} }
-__init void mips_probe_watch_registers(struct cpuinfo_mips *c) +__cpuinit void mips_probe_watch_registers(struct cpuinfo_mips *c)
{
unsigned int t;Ralf Baechle
AppliedQuoted 5 lines · David Daney
Use
__cpuinitformips_probe_watch_registers.This function is called whenever a cpu is added, it cannot be
__init.Signed-off-by David Daney <[email protected]>
Thanks, applied / folded into the original patch for Linus.
Ralf