[RFC PATCH 11/11] x86, fbdev: Cleanup PWT/PCD bit manipulation in fbdev

2014-07-15 Thread Toshi Kani
This patch cleans up the PWT & PCD bit manipulation in fbdev, and uses _PAGE_CACHE_ macros, instead. This keeps the fbdev code independent from the PAT slot assignment. Signed-off-by: Toshi Kani --- arch/x86/include/asm/fb.h |3 ++- drivers/video/fbdev/gbefb.c

[RFC PATCH 11/11] x86, fbdev: Cleanup PWT/PCD bit manipulation in fbdev

2014-07-15 Thread Toshi Kani
This patch cleans up the PWT PCD bit manipulation in fbdev, and uses _PAGE_CACHE_type macros, instead. This keeps the fbdev code independent from the PAT slot assignment. Signed-off-by: Toshi Kani toshi.k...@hp.com --- arch/x86/include/asm/fb.h |3 ++-