···1212#include <linux/types.h>13131414#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_PCI)1515-extern phys_t __fixup_bigphys_addr(phys_t, phys_t);1515+extern phys_addr_t __fixup_bigphys_addr(phys_addr_t, phys_addr_t);1616#else1717-static inline phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size)1717+static inline phys_addr_t __fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)1818{1919 return phys_addr;2020}···2323/*2424 * Allow physical addresses to be fixed up to help 36-bit peripherals.2525 */2626-static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)2626+static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)2727{2828 return __fixup_bigphys_addr(phys_addr, size);2929}30303131-static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,3131+static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,3232 unsigned long flags)3333{3434 return NULL;
+3-3
arch/mips/include/asm/mach-bcm63xx/ioremap.h
···3344#include <bcm63xx_cpu.h>5566-static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)66+static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)77{88 return phys_addr;99}10101111-static inline int is_bcm63xx_internal_registers(phys_t offset)1111+static inline int is_bcm63xx_internal_registers(phys_addr_t offset)1212{1313 switch (bcm63xx_get_cpu_id()) {1414 case BCM3368_CPU_ID:···3232 return 0;3333}34343535-static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,3535+static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,3636 unsigned long flags)3737{3838 if (is_bcm63xx_internal_registers(offset))
+2-2
arch/mips/include/asm/mach-generic/ioremap.h
···1515 * Allow physical addresses to be fixed up to help peripherals located1616 * outside the low 32-bit range -- generic pass-through version.1717 */1818-static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)1818+static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)1919{2020 return phys_addr;2121}22222323-static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,2323+static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,2424 unsigned long flags)2525{2626 return NULL;
+2-2
arch/mips/include/asm/mach-tx39xx/ioremap.h
···1515 * Allow physical addresses to be fixed up to help peripherals located1616 * outside the low 32-bit range -- generic pass-through version.1717 */1818-static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)1818+static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)1919{2020 return phys_addr;2121}22222323-static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,2323+static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,2424 unsigned long flags)2525{2626#define TXX9_DIRECTMAP_BASE 0xff000000ul
+2-2
arch/mips/include/asm/mach-tx49xx/ioremap.h
···1515 * Allow physical addresses to be fixed up to help peripherals located1616 * outside the low 32-bit range -- generic pass-through version.1717 */1818-static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size)1818+static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size)1919{2020 return phys_addr;2121}22222323-static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size,2323+static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size,2424 unsigned long flags)2525{2626#ifdef CONFIG_64BIT
+1-1
arch/mips/include/asm/mips-cm.h
···3030 * different way by defining a function with the same prototype except for the3131 * name mips_cm_phys_base (without underscores).3232 */3333-extern phys_t __mips_cm_phys_base(void);3333+extern phys_addr_t __mips_cm_phys_base(void);34343535/**3636 * mips_cm_probe - probe for a Coherence Manager
+2-2
arch/mips/include/asm/mips-cpc.h
···2525 * memory mapped registers. This is platform dependant & must therefore be2626 * implemented per-platform.2727 */2828-extern phys_t mips_cpc_default_phys_base(void);2828+extern phys_addr_t mips_cpc_default_phys_base(void);29293030/**3131 * mips_cpc_phys_base - retrieve the physical base address of the CPC···3535 * is present. It may be overriden by individual platforms which determine3636 * this address in a different way.3737 */3838-extern phys_t __weak mips_cpc_phys_base(void);3838+extern phys_addr_t __weak mips_cpc_phys_base(void);39394040/**4141 * mips_cpc_probe - probe for a Cluster Power Controller
···2020#ifndef __ASSEMBLY__21212222/*2323- * Don't use phys_t. You've been warned.2323+ * Don't use phys_addr_t. You've been warned.2424 */2525#ifdef CONFIG_PHYS_ADDR_T_64BIT2626-typedef unsigned long long phys_t;2626+typedef unsigned long long phys_addr_t;2727#else2828-typedef unsigned long phys_t;2828+typedef unsigned long phys_addr_t;2929#endif30303131#endif /* __ASSEMBLY__ */