Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers.
@ 2008-10-10 16:59 David Daney
  2008-10-11 15:07 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2008-10-10 16:59 UTC (permalink / raw)
  To: linux-mips

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@caviumnetworks.com>
---
 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;
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers.
  2008-10-10 16:59 [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers David Daney
@ 2008-10-11 15:07 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2008-10-11 15:07 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips

On Fri, Oct 10, 2008 at 09:59:20AM -0700, David Daney wrote:

> 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@caviumnetworks.com>

Thanks, applied / folded into the original patch for Linus.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-11 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 16:59 [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers David Daney
2008-10-11 15:07 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox