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
- Lines: 17
- Date:
Mon Nov 27 17:11:26 2000
- Orig file:
v2.4.0-test11/linux/drivers/block/z2ram.c
- Orig date:
Wed Jul 5 13:15:19 2000
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)