From: Borislav Petkov Date: Thu, 4 Feb 2010 11:09:07 +0000 (+0100) Subject: x86, cacheinfo: Remove NUMA dependency, fix for AMD Fam10h rev D1 X-Git-Tag: v2.6.34-rc1~257^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f619b3d8427eb57f0134dab75b0d217325c72411;p=pandora-kernel.git x86, cacheinfo: Remove NUMA dependency, fix for AMD Fam10h rev D1 The show/store_cache_disable routines depend unnecessarily on NUMA's cpu_to_node and the disabling of cache indices broke when !CONFIG_NUMA. Remove that dependency by using a helper which is always correct. While at it, enable L3 Cache Index disable on rev D1 Istanbuls which sport the feature too. Signed-off-by: Borislav Petkov LKML-Reference: <20100218184339.GG20473@aftab> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed