patch-2.3.29 linux/arch/arm/mm/ioremap.c
Next file: linux/arch/arm/mm/map.h
Previous file: linux/arch/arm/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 23 22:23:11 1999
- Orig file:
v2.3.28/linux/arch/arm/mm/ioremap.c
- Orig date:
Fri Oct 22 13:21:44 1999
diff -u --recursive --new-file v2.3.28/linux/arch/arm/mm/ioremap.c linux/arch/arm/mm/ioremap.c
@@ -32,7 +32,7 @@
#include <linux/vmalloc.h>
#include <asm/page.h>
-#include <asm/pgtable.h>
+#include <asm/pgalloc.h>
#include <asm/io.h>
static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
@@ -136,7 +136,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)