2 * linux/arch/arm/mm/nommu.c
4 * ARM uCLinux supporting functions.
6 #include <linux/module.h>
8 #include <linux/pagemap.h>
10 #include <asm/cacheflush.h>
14 void flush_dcache_page(struct page
*page
)
16 __cpuc_flush_dcache_page(page_address(page
));
18 EXPORT_SYMBOL(flush_dcache_page
);
20 void __iomem
*__ioremap_pfn(unsigned long pfn
, unsigned long offset
,
21 size_t size
, unsigned long flags
)
23 if (pfn
>= (0x100000000ULL
>> PAGE_SHIFT
))
25 return (void __iomem
*) (offset
+ (pfn
<< PAGE_SHIFT
));
27 EXPORT_SYMBOL(__ioremap_pfn
);
29 void __iomem
*__ioremap(unsigned long phys_addr
, size_t size
,
32 return (void __iomem
*)phys_addr
;
34 EXPORT_SYMBOL(__ioremap
);
36 void __iounmap(void __iomem
*addr
)
39 EXPORT_SYMBOL(__iounmap
);