diff options
Diffstat (limited to 'arch/ia64/sn/pci/tioce_provider.c')
-rw-r--r-- | arch/ia64/sn/pci/tioce_provider.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/sn/pci/tioce_provider.c b/arch/ia64/sn/pci/tioce_provider.c index 94e584527f48..012f3b82ee55 100644 --- a/arch/ia64/sn/pci/tioce_provider.c +++ b/arch/ia64/sn/pci/tioce_provider.c | |||
@@ -493,7 +493,7 @@ tioce_dma_unmap(struct pci_dev *pdev, dma_addr_t bus_addr, int dir) | |||
493 | 493 | ||
494 | if (&map->ce_dmamap_list == &ce_kern->ce_dmamap_list) { | 494 | if (&map->ce_dmamap_list == &ce_kern->ce_dmamap_list) { |
495 | printk(KERN_WARNING | 495 | printk(KERN_WARNING |
496 | "%s: %s - no map found for bus_addr 0x%lx\n", | 496 | "%s: %s - no map found for bus_addr 0x%llx\n", |
497 | __func__, pci_name(pdev), bus_addr); | 497 | __func__, pci_name(pdev), bus_addr); |
498 | } else if (--map->refcnt == 0) { | 498 | } else if (--map->refcnt == 0) { |
499 | for (i = 0; i < map->ate_count; i++) { | 499 | for (i = 0; i < map->ate_count; i++) { |
@@ -642,7 +642,7 @@ dma_map_done: | |||
642 | * in the address. | 642 | * in the address. |
643 | */ | 643 | */ |
644 | static u64 | 644 | static u64 |
645 | tioce_dma(struct pci_dev *pdev, u64 paddr, size_t byte_count, int dma_flags) | 645 | tioce_dma(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) |
646 | { | 646 | { |
647 | return tioce_do_dma_map(pdev, paddr, byte_count, 0, dma_flags); | 647 | return tioce_do_dma_map(pdev, paddr, byte_count, 0, dma_flags); |
648 | } | 648 | } |
@@ -657,7 +657,7 @@ tioce_dma(struct pci_dev *pdev, u64 paddr, size_t byte_count, int dma_flags) | |||
657 | * in the address. | 657 | * in the address. |
658 | */ | 658 | */ |
659 | static u64 | 659 | static u64 |
660 | tioce_dma_consistent(struct pci_dev *pdev, u64 paddr, size_t byte_count, int dma_flags) | 660 | tioce_dma_consistent(struct pci_dev *pdev, unsigned long paddr, size_t byte_count, int dma_flags) |
661 | { | 661 | { |
662 | return tioce_do_dma_map(pdev, paddr, byte_count, 1, dma_flags); | 662 | return tioce_do_dma_map(pdev, paddr, byte_count, 1, dma_flags); |
663 | } | 663 | } |