diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-08-11 00:11:13 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-08-10 21:13:08 -0700 |
commit | bafc1dae8215c862c2e6ae913ddadc20581e59b9 (patch) | |
tree | 6716592438d97a964c366f05bf6d5ce8bef561df /include/asm-x86/sections.h | |
parent | 85a14437ed24244c78f9a70d58b8299753b03c92 (diff) |
x86: mmconf: fix section mismatch warning
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x1591): Section mismatch in reference from the function init_amd() to the function .init.text:check_enable_amd_mmconf_dmi()
The function __cpuinit init_amd() references
a function __init check_enable_amd_mmconf_dmi().
If check_enable_amd_mmconf_dmi is only used by init_amd then
annotate check_enable_amd_mmconf_dmi with a matching annotation.
check_enable_amd_mmconf_dmi is only called from init_amd which is __cpuinit
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/asm-x86/sections.h')
0 files changed, 0 insertions, 0 deletions