diff options
Diffstat (limited to 'arch/sparc/mm/iommu.c')
-rw-r--r-- | arch/sparc/mm/iommu.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/sparc/mm/iommu.c b/arch/sparc/mm/iommu.c index 07fc6a65d9b6..349ba83f1789 100644 --- a/arch/sparc/mm/iommu.c +++ b/arch/sparc/mm/iommu.c | |||
@@ -426,20 +426,9 @@ static void iommu_unmap_dma_area(struct device *dev, unsigned long busa, int len | |||
426 | } | 426 | } |
427 | #endif | 427 | #endif |
428 | 428 | ||
429 | static char *iommu_lockarea(char *vaddr, unsigned long len) | ||
430 | { | ||
431 | return vaddr; | ||
432 | } | ||
433 | |||
434 | static void iommu_unlockarea(char *vaddr, unsigned long len) | ||
435 | { | ||
436 | } | ||
437 | |||
438 | void __init ld_mmu_iommu(void) | 429 | void __init ld_mmu_iommu(void) |
439 | { | 430 | { |
440 | viking_flush = (BTFIXUPVAL_CALL(flush_page_for_dma) == (unsigned long)viking_flush_page); | 431 | viking_flush = (BTFIXUPVAL_CALL(flush_page_for_dma) == (unsigned long)viking_flush_page); |
441 | BTFIXUPSET_CALL(mmu_lockarea, iommu_lockarea, BTFIXUPCALL_RETO0); | ||
442 | BTFIXUPSET_CALL(mmu_unlockarea, iommu_unlockarea, BTFIXUPCALL_NOP); | ||
443 | 432 | ||
444 | if (!BTFIXUPVAL_CALL(flush_page_for_dma)) { | 433 | if (!BTFIXUPVAL_CALL(flush_page_for_dma)) { |
445 | /* IO coherent chip */ | 434 | /* IO coherent chip */ |