x86/paging: Rename paging_mark_pfn_dirty() and use pfn_t
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 14 Dec 2016 14:20:12 +0000 (14:20 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 15 Dec 2016 15:55:48 +0000 (15:55 +0000)
commiteaddbb122e918d0ee61b9572398833661ea93670
tree5ac0c37c8daeaf736a2d0835adf97b3971f47073
parentf2a0a0db4a884e89fb976e0e6f4febc2a502c4b6
x86/paging: Rename paging_mark_pfn_dirty() and use pfn_t

paging_mark_gfn_dirty() actually takes a pfn, even by paramter name.  Rename
the function and alter the type to pfn_t to match.

Push pfn_t into the LOGDIRTY_IDX() macros, and clean up a couple of local
variable types in paging_mark_pfn_dirty().

Leave an explicit comment in vmx_vcpu_flush_pml_buffer() when we intentally
perform a straight conversion from gfn to pfn.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/mm/paging.c
xen/include/asm-x86/paging.h