1 /* 2 * linux/arch/arm/mach-shark/mm.c 3 * 4 * by Alexander Schulz 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10 #include <linux/sched.h> 11 #include <linux/mm.h> 12 #include <linux/init.h> 13 14 #include <asm/pgtable.h> 15 #include <asm/page.h> 16 #include <asm/io.h> 17 18 #include <asm/mach/map.h> 19 20 static struct map_desc shark_io_desc[] __initdata = { 21 { IO_BASE , IO_START , IO_SIZE , DOMAIN_IO, 0, 1, 0, 0 }, 22 LAST_DESC 23 }; 24 shark_map_io(void)25void __init shark_map_io(void) 26 { 27 iotable_init(shark_io_desc); 28 } 29