memory: make cpu_physical_memory_get_dirty() the main function
commit9f2c43e41a13605d3ab1e37ba433aa669652fb6b
authorJuan Quintela <quintela@redhat.com>
Tue, 8 Oct 2013 18:35:39 +0000 (8 20:35 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 13 Jan 2014 13:04:54 +0000 (13 14:04 +0100)
tree098da3ebefce96e22d966f2b42f9e28de6f62d85
parentc1427a3f84c42d5159d10927700eafc9b653d68f
memory: make cpu_physical_memory_get_dirty() the main function

And make cpu_physical_memory_get_dirty_flag() to use it.  It used to
be the other way around.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
include/exec/memory-internal.h