patch-2.4.25 linux-2.4.25/include/asm-ppc64/mmu.h

Next file: linux-2.4.25/include/asm-ppc64/mmu_context.h
Previous file: linux-2.4.25/include/asm-ppc64/memory.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/include/asm-ppc64/mmu.h linux-2.4.25/include/asm-ppc64/mmu.h
@@ -180,7 +180,7 @@
 extern HTAB htab_data;
 
 #include <linux/cache.h>
-#include <asm/spinlock.h>
+#include <linux/spinlock.h>
 typedef struct {
 	spinlock_t lock;
 } ____cacheline_aligned hash_table_lock_t;
@@ -191,6 +191,7 @@
 			unsigned long prpn, unsigned hash,
 			void * ptep, unsigned hpteflags,
 			unsigned bolted );
+unsigned long get_lock_slot(unsigned long vpn);
 
 #define PD_SHIFT (10+12)		/* Page directory */
 #define PD_MASK  0x02FF

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