diff options
author | Robert Richter <[email protected]> | 2009-07-27 19:43:52 +0200 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2009-07-27 14:18:46 -0700 |
commit | 0e83815be719d3391bf5ea24b7fe696c07dbd417 (patch) | |
tree | 846980e18b5bd98ffe9b823799157aa1c3e18273 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | e00b95debb9a0f023b61abcd4b1e74f687276b47 (diff) |
x86: fix section mismatch for i386 init code
Startup code for i386 in arch/x86/kernel/head_32.S is using the
reference variable initial_code that is located in the .cpuinit.data
section. If CONFIG_HOTPLUG_CPU is enabled, startup code is not in an
init section and can be called later too. In this case the reference
initial_code must be kept too. This patch fixes this. See below for
the section mismatch warning.
WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference
from the variable initial_code to the function
.init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.
Signed-off-by: Robert Richter <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions