From: Andi Kleen Date: Mon, 4 Feb 2008 15:48:06 +0000 (+0100) Subject: x86: cpa, only flush the cache if the caching attributes have changed X-Git-Tag: v2.6.25-rc1~1057^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb8383bebc02dae08a17f561401f58005f75c03;p=pandora-kernel.git x86: cpa, only flush the cache if the caching attributes have changed We only need to flush the caches in cpa() if the the caching attributes have changed. Otherwise only flush the TLBs. This checks the PAT bits too although they are currently not used by the kernel. Signed-off-by: Andi Kleen Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed