diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-24 13:46:08 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-09-12 21:28:33 +0400 |
commit | b7d11a768b061c307aaaa6242f83da2d2388c756 (patch) | |
tree | 059eac92f029bbee30ee3a309ce2f8fdc5f6b2df /arch/x86/include/asm/amd_nb.h | |
parent | 05b217b021e003d60471eb419d0ceed84d06c5db (diff) | |
download | linux-b7d11a768b061c307aaaa6242f83da2d2388c756.tar.xz |
x86: cache_info: Kill the moronic shadow struct
Commit f9b90566c ("x86: reduce stack usage in init_intel_cacheinfo")
introduced a shadow structure to reduce the stack usage on large
machines instead of making the smaller structure embedded into the
large one. That's definitely a candidate for the bad taste award.
Move the small struct into the large one and get rid of the ugly type
casts.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Hans Rosenfeld <hans.rosenfeld@amd.com>
Cc: Borislav Petkov <borislav.petkov@amd.com>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Mike Travis <travis@sgi.com>
Link: http://lkml.kernel.org/r/20110723212626.625651773@linutronix.de
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/amd_nb.h')
0 files changed, 0 insertions, 0 deletions