Skip to contentSkip to conversation

arch/i386/kernel/cpu/intel_cacheinfo.c: section fix

PATCH New Adrian Bunk 1 participant 1 message May 16, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

arch/i386/kernel/cpu/intel_cacheinfo.c renamed from arch/i386/kernel/cpu/intel_cacheinfo.c.old +1 -1
@@ -118,7 +118,7 @@
 };
 
 #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)
 {