dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/x86/kernel/cpu/mcheck
Leonardo Potenza 51d7a1398d x86: fix section mismatch warnings in mcheck/mce_amd_64.c
Mark the function local_allocate_threshold_blocks() with __cpuinit,
in order to remove the following section mismatch messages:

WARNING: arch/x86/kernel/cpu/mcheck/built-in.o(.text+0x1363): Section mismatch in reference from the function local_allocate_threshold_blocks() to the function .cpuinit.text:allocate_threshold_blocks()
The function local_allocate_threshold_blocks() references
the function __cpuinit allocate_threshold_blocks().
This is often because local_allocate_threshold_blocks lacks a __cpuinit
annotation or the annotation of allocate_threshold_blocks is wrong.

WARNING: arch/x86/kernel/cpu/built-in.o(.text+0x1def): Section mismatch in reference from the function local_allocate_threshold_blocks() to the function .cpuinit.text:allocate_threshold_blocks()
The function local_allocate_threshold_blocks() references
the function __cpuinit allocate_threshold_blocks().
This is often because local_allocate_threshold_blocks lacks a __cpuinit
annotation or the annotation of allocate_threshold_blocks is wrong.

WARNING: arch/x86/kernel/built-in.o(.text+0xef2b): Section mismatch in reference from the function local_allocate_threshold_blocks() to the function .cpuinit.text:allocate_threshold_blocks()
The function local_allocate_threshold_blocks() references
the function __cpuinit allocate_threshold_blocks().
This is often because local_allocate_threshold_blocks lacks a __cpuinit
annotation or the annotation of allocate_threshold_blocks is wrong.

All the callsites of this function are __cpuinit already, and all the
functions it calls are __cpuinit as well.

Signed-off-by: Leonardo Potenza <lpotenza@inwind.it>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-07 12:23:35 +01:00
..
Makefile x86: consolidate the cpu/ related code usage 2007-10-23 22:37:23 +02:00
k7.c Update email addresses. 2008-10-20 12:50:03 -07:00
mce.h x86: remove all definitions with fastcall 2008-01-30 13:31:17 +01:00
mce_32.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
mce_64.c x86: re-enable MCE on secondary CPUS after suspend/resume 2008-12-16 23:03:02 +01:00
mce_amd_64.c x86: fix section mismatch warnings in mcheck/mce_amd_64.c 2009-01-07 12:23:35 +01:00
mce_intel_64.c x86: hardirq: use inc_irq_stat() in non-unified functions 2008-12-16 22:30:19 +01:00
non-fatal.c Update email addresses. 2008-10-20 12:50:03 -07:00
p4.c x86: APIC: remove apic_write_around(); use alternatives 2008-07-18 12:51:21 +02:00
p5.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
p6.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00
therm_throt.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
winchip.c x86: update Alan Cox's email addresses 2009-01-05 15:19:16 +01:00