From 22043ff88e173319cb9e958214eeae4da2884e5d Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Sat, 21 Jul 2007 04:37:39 -0700 Subject: [PATCH] --- yaml --- r: 62324 b: refs/heads/master c: 61d488da9bad8d1511d18291006bd2dd728f173d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/i386/kernel/cpu/intel_cacheinfo.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 68fd0fea8402..8f4463b27696 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7671988b9cd31daf53fd38f8e75c8b881324842b +refs/heads/master: 61d488da9bad8d1511d18291006bd2dd728f173d diff --git a/trunk/arch/i386/kernel/cpu/intel_cacheinfo.c b/trunk/arch/i386/kernel/cpu/intel_cacheinfo.c index e5be819492ef..25b4b7d89cae 100644 --- a/trunk/arch/i386/kernel/cpu/intel_cacheinfo.c +++ b/trunk/arch/i386/kernel/cpu/intel_cacheinfo.c @@ -239,8 +239,7 @@ static int __cpuinit cpuid4_cache_lookup(int index, struct _cpuid4_info *this_le return 0; } -/* will only be called once; __init is safe here */ -static int __init find_num_cache_leaves(void) +static int __cpuinit find_num_cache_leaves(void) { unsigned int eax, ebx, ecx, edx; union _cpuid4_leaf_eax cache_eax;