| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH] MIPS: Octeon: Place cnmips_cu2_setup in __init memory. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Thu, 23 Sep 2010 11:24:09 -0700 |
| Cc: | David Daney <ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
It is an early_initcall, so it should be in __init memory.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---
arch/mips/cavium-octeon/cpu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/cavium-octeon/cpu.c b/arch/mips/cavium-octeon/cpu.c
index c664c8c..a5b4279 100644
--- a/arch/mips/cavium-octeon/cpu.c
+++ b/arch/mips/cavium-octeon/cpu.c
@@ -41,7 +41,7 @@ static int cnmips_cu2_call(struct notifier_block *nfb,
unsigned long action,
return NOTIFY_OK; /* Let default notifier send signals */
}
-static int cnmips_cu2_setup(void)
+static int __init cnmips_cu2_setup(void)
{
return cu2_notifier(cnmips_cu2_call, 0);
}
--
1.7.2.2
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] MIPS: Don't place cu2 notifiers in __cpuinitdata, David Daney |
|---|---|
| Next by Date: | [PATCH 0/9] MIPS: Use dma-mapping-common.h and use swiotlb for Octeon., David Daney |
| Previous by Thread: | [PATCH] MIPS: Don't place cu2 notifiers in __cpuinitdata, David Daney |
| Next by Thread: | [PATCH 0/9] MIPS: Use dma-mapping-common.h and use swiotlb for Octeon., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |