patch-2.1.102 linux/fs/buffer.c

Next file: linux/fs/ext2/balloc.c
Previous file: linux/drivers/sound/v_midi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.101/linux/fs/buffer.c linux/fs/buffer.c
@@ -38,6 +38,7 @@
 #include <linux/blkdev.h>
 #include <linux/sysrq.h>
 #include <linux/file.h>
+#include <linux/init.h>
 #include <linux/quotaops.h>
 
 #include <asm/system.h>
@@ -1729,7 +1730,7 @@
  * Use gfp() for the hash table to decrease TLB misses, use
  * SLAB cache for buffer heads.
  */
-void buffer_init(void)
+__initfunc(void buffer_init(void))
 {
 	int order = 5;		/* Currently maximum order.. */
 	unsigned int nr_hash;

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