···7070 iomem_resource.end = IOMEM_RESOURCE_END;7171}72727373-#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_PCI)7373+#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_PCI)7474/* This routine should be valid for all Au1x based boards */7575phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size)7676{
···116116/*117117 * These are used to make use of C type-checking..118118 */119119-#ifdef CONFIG_64BIT_PHYS_ADDR119119+#ifdef CONFIG_PHYS_ADDR_T_64BIT120120 #ifdef CONFIG_CPU_MIPS32121121 typedef struct { unsigned long pte_low, pte_high; } pte_t;122122 #define pte_val(x) ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
···3232 * unpredictable things. The code (when it is written) to deal with3333 * this problem will be in the update_mmu_cache() code for the r4k.3434 */3535-#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32)3535+#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_CPU_MIPS32)36363737/*3838 * The following bits are directly used by the TLB hardware···172172173173#define _PFN_SHIFT (PAGE_SHIFT - 12 + _CACHE_SHIFT + 3)174174175175-#endif /* defined(CONFIG_64BIT_PHYS_ADDR && defined(CONFIG_CPU_MIPS32) */175175+#endif /* defined(CONFIG_PHYS_ADDR_T_64BIT && defined(CONFIG_CPU_MIPS32) */176176177177#ifndef _PFN_SHIFT178178#define _PFN_SHIFT PAGE_SHIFT
+4-4
arch/mips/include/asm/pgtable.h
···125125extern void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep,126126 pte_t pteval);127127128128-#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32)128128+#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_CPU_MIPS32)129129130130#define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL))131131#define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)···227227 * The following only work if pte_present() is true.228228 * Undefined behaviour if not..229229 */230230-#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32)230230+#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_CPU_MIPS32)231231static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; }232232static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; }233233static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; }···382382 */383383#define mk_pte(page, pgprot) pfn_pte(page_to_pfn(page), (pgprot))384384385385-#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32)385385+#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_CPU_MIPS32)386386static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)387387{388388 pte.pte_low &= _PAGE_CHG_MASK;···419419420420#define kern_addr_valid(addr) (1)421421422422-#ifdef CONFIG_64BIT_PHYS_ADDR422422+#ifdef CONFIG_PHYS_ADDR_T_64BIT423423extern int remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);424424425425static inline int io_remap_pfn_range(struct vm_area_struct *vma,
+1-1
arch/mips/include/asm/types.h
···2222/*2323 * Don't use phys_t. You've been warned.2424 */2525-#ifdef CONFIG_64BIT_PHYS_ADDR2525+#ifdef CONFIG_PHYS_ADDR_T_64BIT2626typedef unsigned long long phys_t;2727#else2828typedef unsigned long phys_t;