diff options
Diffstat (limited to 'include/asm-alpha/pgtable.h')
-rw-r--r-- | include/asm-alpha/pgtable.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/asm-alpha/pgtable.h b/include/asm-alpha/pgtable.h index 22b53e369f5..8393bf374b2 100644 --- a/include/asm-alpha/pgtable.h +++ b/include/asm-alpha/pgtable.h | |||
@@ -339,13 +339,6 @@ extern inline pte_t mk_swap_pte(unsigned long type, unsigned long offset) | |||
339 | #define kern_addr_valid(addr) (1) | 339 | #define kern_addr_valid(addr) (1) |
340 | #endif | 340 | #endif |
341 | 341 | ||
342 | #define io_remap_page_range(vma, start, busaddr, size, prot) \ | ||
343 | ({ \ | ||
344 | void *va = (void __force *)ioremap(busaddr, size); \ | ||
345 | unsigned long pfn = virt_to_phys(va) >> PAGE_SHIFT; \ | ||
346 | remap_pfn_range(vma, start, pfn, size, prot); \ | ||
347 | }) | ||
348 | |||
349 | #define io_remap_pfn_range(vma, start, pfn, size, prot) \ | 342 | #define io_remap_pfn_range(vma, start, pfn, size, prot) \ |
350 | remap_pfn_range(vma, start, pfn, size, prot) | 343 | remap_pfn_range(vma, start, pfn, size, prot) |
351 | 344 | ||