diff options
author | Rakib Mullick <rakib.mullick@gmail.com> | 2010-11-01 12:53:50 +0600 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-11-01 10:09:07 +0100 |
commit | cf38d0ba7efdc476815768b2b999b27cfae69747 (patch) | |
tree | 9ecc9ed54d472f4bb2b9770b29a3134e492e895c /arch/x86/math-emu | |
parent | 3985c7ce85039adacdf882904ca096f091d39346 (diff) |
x86, mm: Fix section mismatch in tlb.c
Mark tlb_cpuhp_notify as __cpuinit. It's basically a callback
function, which is called from __cpuinit init_smp_flash(). So -
it's safe.
We were warned by the following warning:
WARNING: arch/x86/mm/built-in.o(.text+0x356d): Section mismatch
in reference from the function tlb_cpuhp_notify() to the
function .cpuinit.text:calculate_tlb_offset()
The function tlb_cpuhp_notify() references
the function __cpuinit calculate_tlb_offset().
This is often because tlb_cpuhp_notify lacks a __cpuinit
annotation or the annotation of calculate_tlb_offset is wrong.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Cc: Borislav Petkov <borislav.petkov@amd.com>
Cc: Shaohua Li <shaohua.li@intel.com>
LKML-Reference: <AANLkTinWQRG=HA9uB3ad0KAqRRTinL6L_4iKgF84coph@mail.gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/math-emu')
0 files changed, 0 insertions, 0 deletions