Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106114
b: refs/heads/master
c: 1e3519f
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Jul 25, 2008
1 parent 3f1beea commit 67a1224
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16c14b4621c7b6fc4611abf1f86cd78cdb1b2b03
refs/heads/master: 1e3519f8e1baec0b733cd42684fcd3d9681662f1
13 changes: 13 additions & 0 deletions trunk/include/asm-powerpc/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,19 @@ extern void paging_init(void);
remap_pfn_range(vma, vaddr, pfn, size, prot)

#include <asm-generic/pgtable.h>


/*
* This gets called at the end of handling a page fault, when
* the kernel has put a new PTE into the page table for the process.
* We use it to ensure coherency between the i-cache and d-cache
* for the page which has just been mapped in.
* On machines which use an MMU hash table, we use this to put a
* corresponding HPTE into the hash table ahead of time, instead of
* waiting for the inevitable extra hash-table miss exception.
*/
extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);

#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */
Expand Down
11 changes: 0 additions & 11 deletions trunk/include/asm-powerpc/tlbflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,5 @@ extern void __flush_hash_table_range(struct mm_struct *mm, unsigned long start,

#endif

/*
* This gets called at the end of handling a page fault, when
* the kernel has put a new PTE into the page table for the process.
* We use it to ensure coherency between the i-cache and d-cache
* for the page which has just been mapped in.
* On machines which use an MMU hash table, we use this to put a
* corresponding HPTE into the hash table ahead of time, instead of
* waiting for the inevitable extra hash-table miss exception.
*/
extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t);

#endif /*__KERNEL__ */
#endif /* _ASM_POWERPC_TLBFLUSH_H */

0 comments on commit 67a1224

Please sign in to comment.