linux/arch/x86/kernel/cpu
Satyam Sharma 7b38493501 x86: intel_cacheinfo misc section annotation fixes
cache_shared_cpu_map_setup() and cache_remove_shared_cpu_map()
are functions called from another function that is __cpuinit.  But the
!CONFIG_SMP empty-body stubs of these functions are unconditionally
marked __init, which is actively wrong, and will lead to oops.  But we
never saw this oops, because they always managed to get inlined in their
callsites, by virtue of being empty-body stubs!  They should still be
__cpuinit, of course.

assocs[], levels[] and types[] are only referenced from function that is
__cpuinit.  So these are candidates for being marked __cpuinitdata.

[akpm@linux-foundation.org: build fix]
Signed-off-by: Satyam Sharma <satyam@infradead.org>
Cc: Andi Kleen <ak@suse.de>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-17 20:15:49 +02:00
..
cpufreq Convert cpu_sibling_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
mcheck i386: Fix section mismatch 2007-10-17 20:15:25 +02:00
mtrr i386/x86_64: move headers to include/asm-x86 2007-10-11 11:20:03 +02:00
addon_cpuid_features.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
amd.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
bugs.c Delete filenames in comments. 2007-10-13 10:01:23 -07:00
centaur.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
common.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
cpu.h i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
cyrix.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
intel_cacheinfo.c x86: intel_cacheinfo misc section annotation fixes 2007-10-17 20:15:49 +02:00
intel.c i386: fix section mismatch warning in intel.c 2007-10-17 20:15:26 +02:00
Makefile x86: sanitize pathes arch/x86/kernel/cpu/Makefile 2007-10-11 11:17:26 +02:00
nexgen.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
perfctr-watchdog.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
proc.c x86: Convert cpu_core_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
transmeta.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00
umc.c i386: move kernel/cpu 2007-10-11 11:16:58 +02:00