aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/ioremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/ioremap.c')
-rw-r--r--arch/x86/mm/ioremap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c
index 8cbeda15cd29..43c3b6896cd6 100644
--- a/arch/x86/mm/ioremap.c
+++ b/arch/x86/mm/ioremap.c
@@ -242,16 +242,16 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr,
242 switch (prot_val) { 242 switch (prot_val) {
243 case _PAGE_CACHE_UC: 243 case _PAGE_CACHE_UC:
244 default: 244 default:
245 prot = PAGE_KERNEL_NOCACHE; 245 prot = PAGE_KERNEL_IO_NOCACHE;
246 break; 246 break;
247 case _PAGE_CACHE_UC_MINUS: 247 case _PAGE_CACHE_UC_MINUS:
248 prot = PAGE_KERNEL_UC_MINUS; 248 prot = PAGE_KERNEL_IO_UC_MINUS;
249 break; 249 break;
250 case _PAGE_CACHE_WC: 250 case _PAGE_CACHE_WC:
251 prot = PAGE_KERNEL_WC; 251 prot = PAGE_KERNEL_IO_WC;
252 break; 252 break;
253 case _PAGE_CACHE_WB: 253 case _PAGE_CACHE_WB:
254 prot = PAGE_KERNEL; 254 prot = PAGE_KERNEL_IO;
255 break; 255 break;
256 } 256 }
257 257