Skip to content

Commit

Permalink
[MIPS] SB1: Fix modpost warning.
Browse files Browse the repository at this point in the history
  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 <[email protected]>
  • Loading branch information
ralfbaechle committed Jul 10, 2007
1 parent f2c4b47 commit 62b3963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mm/c-sb1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 62b3963

Please sign in to comment.