| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Fri, 10 Oct 2008 09:59:20 -0700 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.16 (X11/20080723) |
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;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] ide: Add tx4939ide driver (v3), Bartlomiej Zolnierkiewicz |
|---|---|
| Next by Date: | [PATCH] MIPS: Report all watch register masks in /proc/cpuinfo., David Daney |
| Previous by Thread: | [PATCH 0/4] serial: 8250 driver improvements & Cavium OCTEON serial support, David Daney |
| Next by Thread: | Re: [PATCH] MIPS: Use __cpuinit for mips_probe_watch_registers., Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |