X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Fmach%2Fmap.h;h=e8ea67c97c73d3526b3c7025dbc9a468e1ef6331;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=cef5364ed5feb0531cc39b3bee6ccdf01426562d;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-arm/mach/map.h b/include/asm-arm/mach/map.h index cef5364ed..e8ea67c97 100644 --- a/include/asm-arm/mach/map.h +++ b/include/asm-arm/mach/map.h @@ -16,6 +16,8 @@ struct map_desc { unsigned int type; }; +struct meminfo; + #define MT_DEVICE 0 #define MT_CACHECLEAN 1 #define MT_MINICLEAN 2 @@ -26,8 +28,7 @@ struct map_desc { #define MT_IXP2000_DEVICE 7 #define MT_NONSHARED_DEVICE 8 -#ifdef CONFIG_MMU +extern void create_memmap_holes(struct meminfo *); +extern void memtable_init(struct meminfo *); extern void iotable_init(struct map_desc *, int); -#else -#define iotable_init(map,num) do { } while (0) -#endif +extern void setup_io_desc(void);