aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r--arch/i386/kernel/cpu/intel_cacheinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/intel_cacheinfo.c b/arch/i386/kernel/cpu/intel_cacheinfo.c
index e5be819492ef..25b4b7d89cae 100644
--- a/arch/i386/kernel/cpu/intel_cacheinfo.c
+++ b/arch/i386/kernel/cpu/intel_cacheinfo.c
@@ -239,8 +239,7 @@ static int __cpuinit cpuid4_cache_lookup(int index, struct _cpuid4_info *this_le
239 return 0; 239 return 0;
240} 240}
241 241
242/* will only be called once; __init is safe here */ 242static int __cpuinit find_num_cache_leaves(void)
243static int __init find_num_cache_leaves(void)
244{ 243{
245 unsigned int eax, ebx, ecx, edx; 244 unsigned int eax, ebx, ecx, edx;
246 union _cpuid4_leaf_eax cache_eax; 245 union _cpuid4_leaf_eax cache_eax;