kernel-ark/arch/i386/kernel/cpu
Sam Ravnborg 114ab8e99c i386: fix section mismatch warning in intel_cacheinfo
Fix following warning:
WARNING: arch/i386/kernel/built-in.o(.init.text+0x3818): Section mismatch: reference to .exit.text:cache_remove_dev (between 'cacheinfo_cpu_callback' and 'cache_sysfs_init')

It points out that a function marked __cpuexit is calling a function marked
__cpuinit => oops.

The call happens only in an error-condition which may explain why we have
not seen it before.

The offending function was not used anywhere else - so marked it __cpuexit.

Note: This warning triggers only with a local copy of modpost
      but that version will soon be pushed out.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-21 18:37:12 -07:00
..
cpufreq
mcheck x86: round_jiffies() for i386 and x86-64 non-critical/corrected MCE polling 2007-07-21 18:37:10 -07:00
mtrr i386: fix section mismatch warnings in mtrr 2007-07-21 18:37:10 -07:00
addon_cpuid_features.c
amd.c
bugs.c
centaur.c
common.c x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
cpu.h
cyrix.c
intel_cacheinfo.c i386: fix section mismatch warning in intel_cacheinfo 2007-07-21 18:37:12 -07:00
intel.c
Makefile x86: remove support for the Rise CPU 2007-07-21 18:37:10 -07:00
nexgen.c
perfctr-watchdog.c i386: Reserve the right performance counter for the Intel PerfMon NMI watchdog 2007-07-21 18:37:08 -07:00
proc.c
transmeta.c
umc.c