]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
[POWERPC] Fix section mismatch in crash_dump.c
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 15 Aug 2007 10:53:26 +0000 (20:53 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:02:06 +0000 (11:02 +1000)
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>
arch/powerpc/kernel/crash_dump.c

index 2f6f5a7bc69edc578bd617396b18b598046f6c7d..ffa91d673ec8f8ec2776c5d62d9459865073b52d 100644 (file)
@@ -25,7 +25,7 @@
 #define DBG(fmt...)
 #endif
 
-void reserve_kdump_trampoline(void)
+void __init reserve_kdump_trampoline(void)
 {
        lmb_reserve(0, KDUMP_RESERVE_LIMIT);
 }