diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-08-12 21:23:05 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-13 15:48:12 (GMT) |
commit | 6b3560229d3b6be7443fa9f9c6502e660bcfef5f (patch) | |
tree | 66b9587d4f45ff2be4b54e1fb4ddb32261643ece /arch/x86/kernel/acpi | |
parent | c9d08f0860d47ed6a3fe91d0f19335086179be7b (diff) | |
download | linux-fsl-qoriq-6b3560229d3b6be7443fa9f9c6502e660bcfef5f.tar.xz |
x86: fix 2 section mismatch warnings - find_and_reserve_crashkernel
WARNING: vmlinux.o(.text+0xcd1f): Section mismatch in reference from the function find_and_reserve_crashkernel() to the function .init.text:find_e820_area()
The function find_and_reserve_crashkernel() references
the function __init find_e820_area().
This is often because find_and_reserve_crashkernel lacks a __init
annotation or the annotation of find_e820_area is wrong.
WARNING: vmlinux.o(.text+0xcd38): Section mismatch in reference from the function find_and_reserve_crashkernel() to the function .init.text:reserve_bootmem_generic()
The function find_and_reserve_crashkernel() references
the function __init reserve_bootmem_generic().
This is often because find_and_reserve_crashkernel lacks a __init
annotation or the annotation of reserve_bootmem_generic is wrong.
find_and_reserve_crashkernel is called from __init function (reserve_crashkernel)
and calls 2 __init functions (find_e820_area, reserve_bootmem_generic),
so mark it __init
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/acpi')
0 files changed, 0 insertions, 0 deletions