diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/ioremap_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/mm/ioremap_64.c b/arch/x86/mm/ioremap_64.c index 6fbd3c7932e0..d6cf14976827 100644 --- a/arch/x86/mm/ioremap_64.c +++ b/arch/x86/mm/ioremap_64.c | |||
@@ -84,8 +84,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l | |||
84 | if (phys_addr >= ISA_START_ADDRESS && last_addr < ISA_END_ADDRESS) | 84 | if (phys_addr >= ISA_START_ADDRESS && last_addr < ISA_END_ADDRESS) |
85 | return (__force void __iomem *)phys_to_virt(phys_addr); | 85 | return (__force void __iomem *)phys_to_virt(phys_addr); |
86 | 86 | ||
87 | pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_GLOBAL | 87 | pgprot = __pgprot(__PAGE_KERNEL_EXEC | _PAGE_GLOBAL | flags); |
88 | | _PAGE_DIRTY | _PAGE_ACCESSED | flags); | ||
89 | /* | 88 | /* |
90 | * Mappings have to be page-aligned | 89 | * Mappings have to be page-aligned |
91 | */ | 90 | */ |