aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2008-01-30 13:33:37 +0100
committerIngo Molnar <[email protected]>2008-01-30 13:33:37 +0100
commit87d7e98012e60d36cdb6c9c6a6cd1dec7c2b5a1c (patch)
tree764a32cd092a0f11d1f712eb5943b080c247052e /tools/perf/scripts/python
parent4c02ad1efdd1293d6fdd453a2f27ad993458dcd1 (diff)
x86: fix section mismatch warning in acpi/boot.c
Fix following warning: WARNING: arch/x86/kernel/built-in.o(.text+0x10ea0): Section mismatch: reference to .cpuinit.data:num_processors in 'acpi_unmap_lsapic' The exported function acpi_unmap_lsapic() references the variable num_processors that is annotated __cpuinitdata. Remove the annotation of num_processors as we never know when an exported function are called. And drop the needless initialsation to 0. Warning was seen on 64 bit but similar pattern were seen in 32 bit - so fix it up there too. Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions