aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/mm/ioremap.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index 3d0a589d92c4..df95d1d6b4df 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -159,11 +159,7 @@ static void __iomem *__ioremap(resource_size_t phys_addr, unsigned long size,
159 switch (mode) { 159 switch (mode) {
160 case IOR_MODE_UNCACHED: 160 case IOR_MODE_UNCACHED:
161 default: 161 default:
162 /* 162 prot = PAGE_KERNEL_NOCACHE;
163 * FIXME: we will use UC MINUS for now, as video fb drivers
164 * depend on it. Upcoming ioremap_wc() will fix this behavior.
165 */
166 prot = PAGE_KERNEL_UC_MINUS;
167 break; 163 break;
168 case IOR_MODE_CACHED: 164 case IOR_MODE_CACHED:
169 prot = PAGE_KERNEL; 165 prot = PAGE_KERNEL;