Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

+1 -1
+1 -1
arch/mips/mm/c-sb1.c
··· 476 476 * memory management function pointers, as well as initialize 477 477 * the caches and tlbs 478 478 */ 479 - void sb1_cache_init(void) 479 + void __init sb1_cache_init(void) 480 480 { 481 481 extern char except_vec2_sb1; 482 482