patch-2.4.0-test12 linux/drivers/block/z2ram.c

Next file: linux/drivers/char/Makefile
Previous file: linux/drivers/block/paride/pseudo.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test11/linux/drivers/block/z2ram.c linux/drivers/block/z2ram.c
@@ -29,6 +29,7 @@
 
 #include <linux/major.h>
 #include <linux/malloc.h>
+#include <linux/vmalloc.h>
 #include <linux/blk.h>
 #include <linux/init.h>
 #include <linux/module.h>
@@ -201,8 +202,6 @@
 #ifdef __powerpc__
 		/* FIXME: ioremap doesn't build correct memory tables. */
 		{
-			extern void* vmalloc (unsigned long);
-			extern void vfree (void*);
 			vfree(vmalloc (size));
 		}
 

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