summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-10 15:10:56 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2007-07-10 16:33:05 (GMT)
commit62b396358e837549f20068ed9c3d2bcf99d9ad2d (patch)
tree74147528c7924fd4800a73f64745903fce01811e
parentf2c4b47f26c9d3ba32fb51e574d8cacce30f744d (diff)
downloadlinux-62b396358e837549f20068ed9c3d2bcf99d9ad2d.tar.xz
[MIPS] SB1: Fix modpost warning.
MODPOST vmlinux WARNING: arch/mips/mm/built-in.o(.text+0x1978): Section mismatch: reference to .init.text:except_vec2_sb1 (between 'sb1_cache_init' and 'sb1_flush_cache_sigtramp') WARNING: arch/mips/mm/built-in.o(.text+0x1988): Section mismatch: reference to .init.text:except_vec2_sb1 (between 'sb1_cache_init' and 'sb1_flush_cache_sigtramp') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/mm/c-sb1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c
index 9ea460b..6f9bd7f 100644
--- a/arch/mips/mm/c-sb1.c
+++ b/arch/mips/mm/c-sb1.c
@@ -476,7 +476,7 @@ static __init void probe_cache_sizes(void)
* memory management function pointers, as well as initialize
* the caches and tlbs
*/
-void sb1_cache_init(void)
+void __init sb1_cache_init(void)
{
extern char except_vec2_sb1;