c-r3k.c (498495dba268b20e8eadd7fe93c140c68b6cc9d2) | c-r3k.c (ff4dd232ec45a0e45ea69f28f069f2ab22b4908a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * r2300.c: R2000 and R3000 specific mmu/cache code. 4 * 5 * Copyright (C) 1996 David S. Miller (davem@davemloft.net) 6 * 7 * with a lot of changes to make this thing work for R3000s 8 * Tx39XX R4k style caches added. HK --- 231 unchanged lines hidden (view full) --- 240 unsigned long kaddr = KSEG0ADDR(pfn << PAGE_SHIFT); 241 int exec = vma->vm_flags & VM_EXEC; 242 struct mm_struct *mm = vma->vm_mm; 243 pgd_t *pgdp; 244 pud_t *pudp; 245 pmd_t *pmdp; 246 pte_t *ptep; 247 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * r2300.c: R2000 and R3000 specific mmu/cache code. 4 * 5 * Copyright (C) 1996 David S. Miller (davem@davemloft.net) 6 * 7 * with a lot of changes to make this thing work for R3000s 8 * Tx39XX R4k style caches added. HK --- 231 unchanged lines hidden (view full) --- 240 unsigned long kaddr = KSEG0ADDR(pfn << PAGE_SHIFT); 241 int exec = vma->vm_flags & VM_EXEC; 242 struct mm_struct *mm = vma->vm_mm; 243 pgd_t *pgdp; 244 pud_t *pudp; 245 pmd_t *pmdp; 246 pte_t *ptep; 247 |
248 pr_debug("cpage[%08lx,%08lx]\n", | 248 pr_debug("cpage[%08llx,%08lx]\n", |
249 cpu_context(smp_processor_id(), mm), addr); 250 251 /* No ASID => no such page in the cache. */ 252 if (cpu_context(smp_processor_id(), mm) == 0) 253 return; 254 255 pgdp = pgd_offset(mm, addr); 256 pudp = pud_offset(pgdp, addr); --- 93 unchanged lines hidden --- | 249 cpu_context(smp_processor_id(), mm), addr); 250 251 /* No ASID => no such page in the cache. */ 252 if (cpu_context(smp_processor_id(), mm) == 0) 253 return; 254 255 pgdp = pgd_offset(mm, addr); 256 pudp = pud_offset(pgdp, addr); --- 93 unchanged lines hidden --- |