···38 remap_pfn_range(vma, vaddr, pfn, size, prot)3940#include <asm-generic/pgtable.h>41+42+43+/*44+ * This gets called at the end of handling a page fault, when45+ * the kernel has put a new PTE into the page table for the process.46+ * We use it to ensure coherency between the i-cache and d-cache47+ * for the page which has just been mapped in.48+ * On machines which use an MMU hash table, we use this to put a49+ * corresponding HPTE into the hash table ahead of time, instead of50+ * waiting for the inevitable extra hash-table miss exception.51+ */52+extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);53+54#endif /* __ASSEMBLY__ */5556#endif /* __KERNEL__ */
-11
include/asm-powerpc/tlbflush.h
···162163#endif164165-/*166- * This gets called at the end of handling a page fault, when167- * the kernel has put a new PTE into the page table for the process.168- * We use it to ensure coherency between the i-cache and d-cache169- * for the page which has just been mapped in.170- * On machines which use an MMU hash table, we use this to put a171- * corresponding HPTE into the hash table ahead of time, instead of172- * waiting for the inevitable extra hash-table miss exception.173- */174-extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);175-176#endif /*__KERNEL__ */177#endif /* _ASM_POWERPC_TLBFLUSH_H */