diff options
| author | Sam Ravnborg <[email protected]> | 2007-07-21 17:11:08 +0200 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-21 18:37:12 -0700 |
| commit | 114ab8e99c52828b37c994f580e39ce341c17d3b (patch) | |
| tree | 5df0e82777064146037efae733b1a5cb7b476990 /include/linux/timerqueue.h | |
| parent | 2378569dd18b3b99e3535ad06b47db7c11dde7d1 (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions