patch-2.4.23 linux-2.4.23/arch/ppc/mm/mmu_decl.h

Next file: linux-2.4.23/arch/ppc/mm/pgtable.c
Previous file: linux-2.4.23/arch/ppc/mm/mmu_context.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/ppc/mm/mmu_decl.h linux-2.4.23/arch/ppc/mm/mmu_decl.h
@@ -21,11 +21,12 @@
  */
 
 #include <asm/pgtable.h>
+#include <asm/mmu.h>
 
 extern void mapin_ram(void);
 extern void bat_mapin_ram(unsigned long bat2, unsigned long bat3);
 extern void adjust_total_lowmem(void);
-extern int map_page(unsigned long va, unsigned long pa, int flags);
+extern int map_page(unsigned long va, phys_addr_t pa, int flags);
 extern void setbat(int index, unsigned long virt, unsigned long phys,
 		   unsigned int size, int flags);
 extern void reserve_phys_mem(unsigned long start, unsigned long size);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)