diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-30 13:33:37 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:33:37 +0100 |
commit | adb8daed46356d1772e8bd8def1b70c8cb58ce12 (patch) | |
tree | 2c62f600a9098de8d97228fe4d3ba5ee7ac2d8d4 /arch/x86/lib/thunk_64.S | |
parent | 3eaf5efae72b33bc6132e9590e5d4bf11532f8c4 (diff) |
x86: fix section mismatch warning in setup_64.c
Fix the following warning:
WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x7a3): Section mismatch: reference to .init.text:amd_detect_cmp in 'init_amd'
The function amd_detect_cmp were annotated __init and
was only used from init_amd() which are annotated __cpuinit.
Annotate amd_detect_cmp() with _cpuinit to fix it.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/lib/thunk_64.S')
0 files changed, 0 insertions, 0 deletions