aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2008-03-25 15:06:56 -0700
committerIngo Molnar <mingo@elte.hu>2008-04-19 19:44:58 +0200
commit6b6309b4c7f6da467c5d5b7d18fa8cb79730f381 (patch)
tree1a823a60ca1cd561b7c63f7ee52a6ac057ca68c1 /init
parent30ca60c15a725f655e5d3f14e0238a066bc5aeb7 (diff)
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 <hpa@zytor.com> Cc: Andi Kleen <ak@suse.de> Signed-off-by: Mike Travis <travis@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions