commit | 6bb8383bebc02dae08a17f561401f58005f75c03 | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@suse.de> | Mon Feb 04 16:48:06 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Feb 04 16:48:06 2008 +0100 |
tree | bb06b03c0991a2f34e69ddbd07ab1a916858fc6c | |
parent | 9bf5a47572fe4ea4e5ed2691e4313ea0bb68a74e [diff] |
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 <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>