x86: mtrr_cleanup: treat WRPROT as UNCACHEABLE
authorYinghai Lu <yhlu.kernel@gmail.com>
Sat, 4 Oct 2008 21:50:33 +0000 (14:50 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 5 Oct 2008 03:10:22 +0000 (20:10 -0700)
commitdd5523552c2897e3fde16fc2fc8f6332addf66ab
tree28b2b671d46a01344d24b7f73bfdd016f30eac60
parent99e1aa17ce434010dd820b583628370cc15f10f3
x86: mtrr_cleanup: treat WRPROT as UNCACHEABLE

For the purpose of MTRR canonicalization, treat WRPROT as UNCACHEABLE.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mtrr/main.c