All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Subject: [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers.
Date: Fri, 10 Oct 2008 09:59:20 -0700	[thread overview]
Message-ID: <48EF89E8.1090300@caviumnetworks.com> (raw)

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;
 

             reply	other threads:[~2008-10-10 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-10 16:59 David Daney [this message]
2008-10-11 15:07 ` [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EF89E8.1090300@caviumnetworks.com \
    --to=ddaney@caviumnetworks.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.