summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-03-28 15:05:53 +0200
committerJuan Quintela <quintela@redhat.com>2017-04-21 12:25:36 +0200
commit68908ed665f4d97afb271c5d5b564d951951538c (patch)
tree4eda6ba2f9d6b85aef9961176af5a056b236af23 /include
parenta66cd90c74f2a521d2441ba591f822cc93291cab (diff)
downloadqemu-68908ed665f4d97afb271c5d5b564d951951538c.zip
ram: Change num_dirty_pages_period type to uint64_t
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/exec/ram_addr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h
index b05dc84ab9..9aadc5c830 100644
--- a/include/exec/ram_addr.h
+++ b/include/exec/ram_addr.h
@@ -356,7 +356,7 @@ static inline
uint64_t cpu_physical_memory_sync_dirty_bitmap(unsigned long *dest,
ram_addr_t start,
ram_addr_t length,
- int64_t *real_dirty_pages)
+ uint64_t *real_dirty_pages)
{
ram_addr_t addr;
unsigned long page = BIT_WORD(start >> TARGET_PAGE_BITS);