patch-2.3.29 linux/arch/i386/mm/ioremap.c
Next file: linux/arch/m68k/kernel/signal.c
Previous file: linux/arch/i386/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sat Nov 20 10:09:05 1999
- Orig file:
v2.3.28/linux/arch/i386/mm/ioremap.c
- Orig date:
Fri Oct 22 13:21:45 1999
diff -u --recursive --new-file v2.3.28/linux/arch/i386/mm/ioremap.c linux/arch/i386/mm/ioremap.c
@@ -10,6 +10,7 @@
#include <linux/vmalloc.h>
#include <asm/io.h>
+#include <asm/pgalloc.h>
static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
unsigned long phys_addr, unsigned long flags)
@@ -131,7 +132,7 @@
/*
* Ok, go for it..
*/
- area = get_vm_area(size);
+ area = get_vm_area(size, VM_IOREMAP);
if (!area)
return NULL;
addr = area->addr;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)