From: Hans Rosenfeld Date: Fri, 29 Oct 2010 15:14:31 +0000 (+0200) Subject: x86, amd-nb: Cleanup AMD northbridge caching code X-Git-Tag: v2.6.38-rc1~487^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9653a5c76c8677b05b45b3b999d3b39988d2a064;p=pandora-kernel.git x86, amd-nb: Cleanup AMD northbridge caching code Support more than just the "Misc Control" part of the northbridges. Support more flags by turning "gart_supported" into a single bit flag that is stored in a flags member. Clean up related code by using a set of functions (amd_nb_num(), amd_nb_has_feature() and node_to_amd_nb()) instead of accessing the NB data structures directly. Reorder the initialization code and put the GART flush words caching in a separate function. Signed-off-by: Hans Rosenfeld Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed