patch-2.1.37 linux/mm/swap_state.c

Next file: linux/mm/swapfile.c
Previous file: linux/mm/swap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/mm/swap_state.c linux/mm/swap_state.c
@@ -16,6 +16,7 @@
 #include <linux/swap.h>
 #include <linux/fs.h>
 #include <linux/swapctl.h>
+#include <linux/init.h>
 
 #include <asm/dma.h>
 #include <asm/system.h> /* for cli()/sti() */
@@ -69,8 +70,8 @@
 	return 0;
 }
 
-unsigned long init_swap_cache(unsigned long mem_start,
-	unsigned long mem_end)
+__initfunc(unsigned long init_swap_cache(unsigned long mem_start,
+					 unsigned long mem_end))
 {
 	unsigned long swap_cache_size;
 

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