patch-2.3.23 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: 21
- Date:
Wed Oct 20 16:29:08 1999
- Orig file:
v2.3.22/linux/arch/arm/mm/ioremap.c
- Orig date:
Tue Aug 31 17:29:12 1999
diff -u --recursive --new-file v2.3.22/linux/arch/arm/mm/ioremap.c linux/arch/arm/mm/ioremap.c
@@ -27,8 +27,12 @@
* FIFO. Unfortunately, it is not possible to tell the DC21285 to
* flush this - flushing the area causes the bus to lock.
*/
-
+#include <linux/errno.h>
+#include <linux/mm.h>
#include <linux/vmalloc.h>
+
+#include <asm/page.h>
+#include <asm/pgtable.h>
#include <asm/io.h>
static inline void remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
@@ -145,5 +149,5 @@
void __iounmap(void *addr)
{
- return vfree((void *) (PAGE_MASK & (unsigned long) addr));
+ vfree((void *) (PAGE_MASK & (unsigned long) addr));
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)