From: Thomas Gleixner Date: Sun, 24 Jul 2011 09:46:08 +0000 (+0000) Subject: x86: cache_info: Kill the moronic shadow struct X-Git-Tag: v3.2-rc1~144^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7d11a768b061c307aaaa6242f83da2d2388c756;p=pandora-kernel.git 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 Cc: Hans Rosenfeld Cc: Borislav Petkov Cc: Andreas Herrmann Cc: Mike Travis Link: http://lkml.kernel.org/r/20110723212626.625651773@linutronix.de Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed