diff options
-rw-r--r-- | arch/powerpc/mm/pgtable_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/pgtable_64.c b/arch/powerpc/mm/pgtable_64.c index 16e4ee1c2318..1d443407423c 100644 --- a/arch/powerpc/mm/pgtable_64.c +++ b/arch/powerpc/mm/pgtable_64.c | |||
@@ -103,7 +103,7 @@ static int map_io_page(unsigned long ea, unsigned long pa, int flags) | |||
103 | * | 103 | * |
104 | */ | 104 | */ |
105 | if (htab_bolt_mapping(ea, ea + PAGE_SIZE, pa, flags, | 105 | if (htab_bolt_mapping(ea, ea + PAGE_SIZE, pa, flags, |
106 | mmu_virtual_psize)) { | 106 | mmu_io_psize)) { |
107 | printk(KERN_ERR "Failed to do bolted mapping IO " | 107 | printk(KERN_ERR "Failed to do bolted mapping IO " |
108 | "memory at %016lx !\n", pa); | 108 | "memory at %016lx !\n", pa); |
109 | return -ENOMEM; | 109 | return -ENOMEM; |