diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index f022862de34..e66064b5093 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c | |||
@@ -1658,7 +1658,7 @@ pgprot_t pci_phys_mem_access_prot(struct file *file, | |||
1658 | int i; | 1658 | int i; |
1659 | 1659 | ||
1660 | if (page_is_ram(pfn)) | 1660 | if (page_is_ram(pfn)) |
1661 | return prot; | 1661 | return __pgprot(prot); |
1662 | 1662 | ||
1663 | prot |= _PAGE_NO_CACHE | _PAGE_GUARDED; | 1663 | prot |= _PAGE_NO_CACHE | _PAGE_GUARDED; |
1664 | 1664 | ||