diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-19 20:20:42 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-02-20 14:47:08 +0100 |
commit | 85eb7c18ee39e26002de6fa6abc5638af140e588 (patch) | |
tree | 70ed975b4a8b8a1bc36a2d5bcc0bf888227a2bc3 /hw/display/exynos4210_fimd.c | |
parent | 28c80bfe8b9c2343d5b6a488cf013352d8ea59d1 (diff) |
Let cpu_[physical]_memory() calls pass a boolean 'is_write' argument
Use an explicit boolean type.
This commit was produced with the included Coccinelle script
scripts/coccinelle/exec_rw_const.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/display/exynos4210_fimd.c')
-rw-r--r-- | hw/display/exynos4210_fimd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c index c1071ecd46..ec6776680e 100644 --- a/hw/display/exynos4210_fimd.c +++ b/hw/display/exynos4210_fimd.c @@ -1164,7 +1164,8 @@ static void fimd_update_memory_section(Exynos4210fimdState *s, unsigned win) goto error_return; } - w->host_fb_addr = cpu_physical_memory_map(fb_start_addr, &fb_mapped_len, 0); + w->host_fb_addr = cpu_physical_memory_map(fb_start_addr, &fb_mapped_len, + false); if (!w->host_fb_addr) { DPRINT_ERROR("Failed to map window %u framebuffer\n", win); goto error_return; |