summaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/common.c
diff options
context:
space:
mode:
authorRakib Mullick <rakib.mullick@gmail.com>2008-11-20 19:08:45 +0600
committerIngo Molnar <mingo@elte.hu>2008-11-20 16:43:41 +0100
commit9bc646f163b136684390081262fab0fd8f5343ca (patch)
tree7b47b6a82c9123fe0e92f8648cbf86bc94fd7700 /arch/x86/pci/common.c
parent20a4a236c7de5c915551cdc562482aa53eaff40e (diff)
x86: fix __cpuinit/__init tangle in init_thread_xstate()
Impact: fix incorrect __init annotation This patch removes the following section mismatch warning. A patch set was send previously (http://lkml.org/lkml/2008/11/10/407). But introduce some other problem, reported by Rufus (http://lkml.org/lkml/2008/11/11/46). Then Ingo Molnar suggest that, it's best to remove __init from xsave_cntxt_init(void). Which is the second patch in this series. Now, this one removes the following warning. WARNING: arch/x86/kernel/built-in.o(.cpuinit.text+0x2237): Section mismatch in reference from the function cpu_init() to the function .init.text:init_thread_xstate() The function __cpuinit cpu_init() references a function __init init_thread_xstate(). If init_thread_xstate is only used by cpu_init then annotate init_thread_xstate with a matching annotation. Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/pci/common.c')
0 files changed, 0 insertions, 0 deletions