From: Mike Travis Date: Tue, 25 Mar 2008 22:06:56 +0000 (-0700) Subject: x86: reduce memory and stack usage in intel_cacheinfo X-Git-Tag: v2.6.26-rc1~1132^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6309b4c7f6da467c5d5b7d18fa8cb79730f381;p=pandora-kernel.git x86: reduce memory and stack usage in intel_cacheinfo * Change the following static arrays sized by NR_CPUS to per_cpu data variables: _cpuid4_info *cpuid4_info[NR_CPUS]; _index_kobject *index_kobject[NR_CPUS]; kobject * cache_kobject[NR_CPUS]; * Remove the local NR_CPUS array with a kmalloc'd region in show_shared_cpu_map(). Also some minor complaints from checkpatch.pl fixed. Cc: H. Peter Anvin Cc: Andi Kleen Signed-off-by: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed