projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7106c
)
MIPS: Octeon: Place cnmips_cu2_setup in __init memory.
author
David Daney
<ddaney@caviumnetworks.com>
Thu, 23 Sep 2010 18:24:09 +0000
(11:24 -0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 4 Oct 2010 17:34:00 +0000
(18:34 +0100)
It is an early_initcall, so it should be in __init memory.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1593/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/cpu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/cavium-octeon/cpu.c
b/arch/mips/cavium-octeon/cpu.c
index c664c8cc2b42cb8970b9f57531a03e2998075566..a5b427909b5cac04d28c4da1b099342ee72df4ce 100644
(file)
--- 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);
}