diff options
author | Julien Grall <julien.grall@linaro.org> | 2013-05-08 23:33:23 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-05-13 11:59:56 +0100 |
commit | 4e6714686495f5446c85228aaa6ffe525029d4e3 (patch) | |
tree | b71d213e116c9b76928d540a55bbebd84b296336 /xen/drivers/video | |
parent | 73a6a932d6e927c4608a8726987a3e89545d7bee (diff) | |
download | xen-4e6714686495f5446c85228aaa6ffe525029d4e3.tar.gz xen-4e6714686495f5446c85228aaa6ffe525029d4e3.tar.bz2 xen-4e6714686495f5446c85228aaa6ffe525029d4e3.zip |
xen/arm: Introduce ioremap_attr, ioremap_cache, ioremap_nocache, ioremap_wc
Map physical range in virtual memory with a specific mapping attribute.
Also add new mapping attributes for ARM: PAGE_HYPERVISOR_NOCACHE
and PAGE_HYPERVISOR_WC.
This function replaces early_ioremap which is only able to deal with 2Mb
aligned mapping. Therefore, vmap initialization has been moved earlier.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/drivers/video')
-rw-r--r-- | xen/drivers/video/arm_hdlcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/video/arm_hdlcd.c b/xen/drivers/video/arm_hdlcd.c index d0ec13d7c2..72979ea99f 100644 --- a/xen/drivers/video/arm_hdlcd.c +++ b/xen/drivers/video/arm_hdlcd.c @@ -211,7 +211,7 @@ void __init video_init(void) printk(KERN_INFO "Initializing HDLCD driver\n"); - lfb = early_ioremap(framebuffer_start, framebuffer_size, DEV_WC); + lfb = ioremap_wc(framebuffer_start, framebuffer_size); if ( !lfb ) { printk(KERN_ERR "Couldn't map the framebuffer\n"); |