patch-2.1.115 linux/include/asm-m68k/pgtable.h

Next file: linux/include/asm-mips/checksum.h
Previous file: linux/include/asm-i386/unistd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/include/asm-m68k/pgtable.h linux/include/asm-m68k/pgtable.h
@@ -621,7 +621,7 @@
 extern pmd_t *get_pmd_slow(pgd_t *pgd, unsigned long offset);
 
 extern pmd_t *get_pointer_table(void);
-extern void free_pointer_table(pmd_t *);
+extern int free_pointer_table(pmd_t *);
 extern pmd_t *get_kpointer_table(void);
 extern void free_kpointer_table(pmd_t *);
 
@@ -671,9 +671,9 @@
 	quicklists.pgtable_cache_sz++;
 }
 
-extern __inline__ void free_pmd_slow(pmd_t *pmd)
+extern __inline__ int free_pmd_slow(pmd_t *pmd)
 {
-	free_pointer_table(pmd);
+	return free_pointer_table(pmd);
 }
 
 /* The pgd cache is folded into the pmd cache, so these are dummy routines. */
@@ -788,6 +788,8 @@
 		pgd = (pgd_t *)get_pointer_table();
 	return pgd;
 }
+
+extern int do_check_pgt_cache(int, int);
 
 extern inline void set_pgdir(unsigned long address, pgd_t entry)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov