patch-2.3.25 linux/include/asm-arm/proc-armo/cache.h
Next file: linux/include/asm-arm/proc-armo/pgtable.h
Previous file: linux/include/asm-arm/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Thu Oct 28 10:16:02 1999
- Orig file:
v2.3.24/linux/include/asm-arm/proc-armo/cache.h
- Orig date:
Fri Oct 22 13:21:53 1999
diff -u --recursive --new-file v2.3.24/linux/include/asm-arm/proc-armo/cache.h linux/include/asm-arm/proc-armo/cache.h
@@ -46,18 +46,18 @@
}
extern __inline__ void
-memc_update_addr(struct mm_struct *mm, pte_t pte, unsigned long addr)
+memc_update_addr(struct mm_struct *mm, pte_t pte, unsigned long vaddr)
{
- cpu_memc_update_entry(mm->pgd, pte_val(pte), addr);
+ cpu_memc_update_entry(mm->pgd, pte_val(pte), vaddr);
if (mm == current->active_mm)
processor._set_pgd(mm->pgd);
}
extern __inline__ void
-memc_clear(struct mm_struct *mm, unsigned long phys_addr)
+memc_clear(struct mm_struct *mm, struct page *page)
{
- cpu_memc_update_entry(mm->pgd, phys_addr, 0);
+ cpu_memc_update_entry(mm->pgd, page_address(page), 0);
if (mm == current->active_mm)
processor._set_pgd(mm->pgd);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)