Browse Source

[POWERPC] Fix section mismatch in crash_dump.c

WARNING: vmlinux.o(.text+0x23258): Section mismatch: reference to .init.text:.lmb_reserve (between '.reserve_kdump_trampoline' and '.restore_processor_state')

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Stephen Rothwell 17 years ago
parent
commit
d56c3aaa9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/powerpc/kernel/crash_dump.c

+ 1 - 1
arch/powerpc/kernel/crash_dump.c

@@ -25,7 +25,7 @@
 #define DBG(fmt...)
 #define DBG(fmt...)
 #endif
 #endif
 
 
-void reserve_kdump_trampoline(void)
+void __init reserve_kdump_trampoline(void)
 {
 {
 	lmb_reserve(0, KDUMP_RESERVE_LIMIT);
 	lmb_reserve(0, KDUMP_RESERVE_LIMIT);
 }
 }