diff options
Diffstat (limited to 'arch/powerpc/include/asm/io.h')
-rw-r--r-- | arch/powerpc/include/asm/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h index 77c7fa025e65..08266d2728b3 100644 --- a/arch/powerpc/include/asm/io.h +++ b/arch/powerpc/include/asm/io.h | |||
@@ -711,7 +711,7 @@ static inline void * phys_to_virt(unsigned long address) | |||
711 | /* | 711 | /* |
712 | * Change "struct page" to physical address. | 712 | * Change "struct page" to physical address. |
713 | */ | 713 | */ |
714 | #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) | 714 | #define page_to_phys(page) ((phys_addr_t)page_to_pfn(page) << PAGE_SHIFT) |
715 | 715 | ||
716 | /* We do NOT want virtual merging, it would put too much pressure on | 716 | /* We do NOT want virtual merging, it would put too much pressure on |
717 | * our iommu allocator. Instead, we want drivers to be smart enough | 717 | * our iommu allocator. Instead, we want drivers to be smart enough |