[PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ddaney@xxxxxxxxxxxxxxxxxx>
---
arch/mips/kernel/watch.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/watch.c b/arch/mips/kernel/watch.c
index e9c4f5d..c154069 100644
--- a/arch/mips/kernel/watch.c
+++ b/arch/mips/kernel/watch.c
@@ -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;



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux