Import 2.3.25pre1
[davej-history.git] / arch / arm / mm / mm-ebsa110.c
blob5e31deb59a748722ca1dc7ac035bda095c73bc2e
1 /*
2 * arch/arm/mm/mm-ebsa110.c
4 * Extra MM routines for the EBSA-110 architecture
6 * Copyright (C) 1998-1999 Russell King
7 */
8 #include <linux/mm.h>
9 #include <linux/init.h>
11 #include <asm/pgtable.h>
12 #include <asm/page.h>
14 #include "map.h"
16 const struct map_desc io_desc[] __initdata = {
17 { IO_BASE - PGDIR_SIZE, 0xc0000000, PGDIR_SIZE, DOMAIN_IO, 0, 1, 0, 0 },
18 { IO_BASE , IO_START , IO_SIZE , DOMAIN_IO, 0, 1, 0, 0 }
21 #define SIZEOFMAP (sizeof(mapping) / sizeof(mapping[0]))
23 unsigned int __initdata io_desc_size = SIZEOFMAP;