diff options
Diffstat (limited to 'arch/x86/pci/i386.c')
-rw-r--r-- | arch/x86/pci/i386.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/pci/i386.c b/arch/x86/pci/i386.c index 2ae525e0d8ba..37c1435889ce 100644 --- a/arch/x86/pci/i386.c +++ b/arch/x86/pci/i386.c | |||
@@ -442,8 +442,6 @@ int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
442 | */ | 442 | */ |
443 | prot |= _PAGE_CACHE_UC_MINUS; | 443 | prot |= _PAGE_CACHE_UC_MINUS; |
444 | 444 | ||
445 | prot |= _PAGE_IOMAP; /* creating a mapping for IO */ | ||
446 | |||
447 | vma->vm_page_prot = __pgprot(prot); | 445 | vma->vm_page_prot = __pgprot(prot); |
448 | 446 | ||
449 | if (io_remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, | 447 | if (io_remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff, |