diff options
| author | Satyam Sharma <[email protected]> | 2007-10-17 18:04:35 +0200 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2007-10-17 20:15:49 +0200 |
| commit | 7b38493501b76e56f481925ed74ee5ca0f4c6183 (patch) | |
| tree | 6ac83113f1c775d59bebe2c53da06076c3fd1ecf /include/linux | |
| parent | f6855f7fb2e22c5675d292dd445ee3c1fc09ac18 (diff) | |
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.
[[email protected]: build fix]
Signed-off-by: Satyam Sharma <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Venkatesh Pallipadi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions