Commit 70ffc71c authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] arch/i386/kernel/cpu/intel_cacheinfo.c: section fix

num_cache_leaves is used in __devexit cache_remove_dev() and can therefore
not be __devinit.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9db29258
...@@ -118,7 +118,7 @@ struct _cpuid4_info { ...@@ -118,7 +118,7 @@ struct _cpuid4_info {
}; };
#define MAX_CACHE_LEAVES 4 #define MAX_CACHE_LEAVES 4
static unsigned short __devinitdata num_cache_leaves; static unsigned short num_cache_leaves;
static int __devinit cpuid4_cache_lookup(int index, struct _cpuid4_info *this_leaf) static int __devinit cpuid4_cache_lookup(int index, struct _cpuid4_info *this_leaf)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment