patch-2.3.9 linux/include/linux/pagemap.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/mm.h
Back to the patch index
Back to the overall index
-  Lines: 17
 -  Date:
Wed Jun 30 12:42:46 1999
 -  Orig file: 
v2.3.8/linux/include/linux/pagemap.h
 -  Orig date: 
Tue Jun 22 14:41:52 1999
 
diff -u --recursive --new-file v2.3.8/linux/include/linux/pagemap.h linux/include/linux/pagemap.h
@@ -39,11 +39,14 @@
  */
 #define page_cache_entry(x)	(mem_map + MAP_NR(x))
 
-#define PAGE_HASH_BITS 16
+extern unsigned int page_hash_bits;
+#define PAGE_HASH_BITS (page_hash_bits)
 #define PAGE_HASH_SIZE (1 << PAGE_HASH_BITS)
 
 extern atomic_t page_cache_size; /* # of pages currently in the hash table */
-extern struct page * page_hash_table[PAGE_HASH_SIZE];
+extern struct page **page_hash_table;
+
+extern void page_cache_init(unsigned long);
 
 /*
  * We use a power-of-two hash table to avoid a modulus,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)