Merge tag 'wireless-drivers-next-for-davem-2015-03-06' of git://git.kernel.org/pub...
[deliverable/linux.git] / arch / mips / mm / ioremap.c
index 7f840bc08abf189693a3ff4044c83f2ea0875992..8d5008cbdc0f0a580d1fbc2c65f6f8741cbdc5eb 100644 (file)
@@ -17,9 +17,9 @@
 #include <asm/tlbflush.h>
 
 static inline void remap_area_pte(pte_t * pte, unsigned long address,
-       phys_t size, phys_t phys_addr, unsigned long flags)
+       phys_addr_t size, phys_addr_t phys_addr, unsigned long flags)
 {
-       phys_t end;
+       phys_addr_t end;
        unsigned long pfn;
        pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE
                                   | __WRITEABLE | flags);
@@ -43,9 +43,9 @@ static inline void remap_area_pte(pte_t * pte, unsigned long address,
 }
 
 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address,
-       phys_t size, phys_t phys_addr, unsigned long flags)
+       phys_addr_t size, phys_addr_t phys_addr, unsigned long flags)
 {
-       phys_t end;
+       phys_addr_t end;
 
        address &= ~PGDIR_MASK;
        end = address + size;
@@ -64,8 +64,8 @@ static inline int remap_area_pmd(pmd_t * pmd, unsigned long address,
        return 0;
 }
 
-static int remap_area_pages(unsigned long address, phys_t phys_addr,
-       phys_t size, unsigned long flags)
+static int remap_area_pages(unsigned long address, phys_addr_t phys_addr,
+       phys_addr_t size, unsigned long flags)
 {
        int error;
        pgd_t * dir;
@@ -111,13 +111,13 @@ static int remap_area_pages(unsigned long address, phys_t phys_addr,
  * caller shouldn't need to know that small detail.
  */
 
-#define IS_LOW512(addr) (!((phys_t)(addr) & (phys_t) ~0x1fffffffULL))
+#define IS_LOW512(addr) (!((phys_addr_t)(addr) & (phys_addr_t) ~0x1fffffffULL))
 
-void __iomem * __ioremap(phys_t phys_addr, phys_t size, unsigned long flags)
+void __iomem * __ioremap(phys_addr_t phys_addr, phys_addr_t size, unsigned long flags)
 {
        struct vm_struct * area;
        unsigned long offset;
-       phys_t last_addr;
+       phys_addr_t last_addr;
        void * addr;
 
        phys_addr = fixup_bigphys_addr(phys_addr, size);
This page took 0.02415 seconds and 5 git commands to generate.