aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3/system-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/ps3/system-bus.c')
-rw-r--r--arch/powerpc/platforms/ps3/system-bus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/ps3/system-bus.c b/arch/powerpc/platforms/ps3/system-bus.c
index ee0d22911621..70ef793e5565 100644
--- a/arch/powerpc/platforms/ps3/system-bus.c
+++ b/arch/powerpc/platforms/ps3/system-bus.c
@@ -568,7 +568,7 @@ static dma_addr_t ps3_sb_map_page(struct device *_dev, struct page *page,
568{ 568{
569 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); 569 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
570 int result; 570 int result;
571 unsigned long bus_addr; 571 dma_addr_t bus_addr;
572 void *ptr = page_address(page) + offset; 572 void *ptr = page_address(page) + offset;
573 573
574 result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size, 574 result = ps3_dma_map(dev->d_region, (unsigned long)ptr, size,
@@ -590,7 +590,7 @@ static dma_addr_t ps3_ioc0_map_page(struct device *_dev, struct page *page,
590{ 590{
591 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev); 591 struct ps3_system_bus_device *dev = ps3_dev_to_system_bus_dev(_dev);
592 int result; 592 int result;
593 unsigned long bus_addr; 593 dma_addr_t bus_addr;
594 u64 iopte_flag; 594 u64 iopte_flag;
595 void *ptr = page_address(page) + offset; 595 void *ptr = page_address(page) + offset;
596 596