===== include/asm-ppc/tlbflush.h 1.10 vs edited ===== --- 1.10/include/asm-ppc/tlbflush.h Mon Jun 7 00:01:50 2004 +++ edited/include/asm-ppc/tlbflush.h Mon Jun 7 10:20:49 2004 @@ -56,6 +56,9 @@ static inline void flush_tlb_kernel_range(unsigned long start, unsigned long end) { __tlbia(); } +static inline void update_mmu_cache(struct vm_area_struct *vma, + unsigned long addr, pte_t pte) + { /* nothing */ } #else /* 6xx, 7xx, 7xxx cpus */ struct mm_struct; @@ -78,6 +81,7 @@ { } +#if !defined(CONFIG_8xx) /* * 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. @@ -88,6 +92,7 @@ * waiting for the inevitable extra hash-table miss exception. */ extern void update_mmu_cache(struct vm_area_struct *, unsigned long, pte_t); +#endif #endif /* _PPC_TLBFLUSH_H */ #endif /*__KERNEL__ */ ===== arch/ppc/mm/init.c 1.36 vs edited ===== --- 1.36/arch/ppc/mm/init.c Sat May 15 05:00:22 2004 +++ edited/arch/ppc/mm/init.c Mon Jun 7 10:19:36 2004 @@ -605,6 +605,7 @@ kunmap(page); } +#if !defined(CONFIG_8xx) /* * This is called at the end of handling a user page fault, when the * fault has been handled by updating a PTE in the linux page tables. @@ -642,3 +643,4 @@ } #endif } +#endif