x86/hap: initialise HAP logdirty function pointers once in hap_domain_init()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 11 Aug 2014 13:12:20 +0000 (15:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Aug 2014 13:12:20 +0000 (15:12 +0200)
commitbc36a12f90c290a09ca515c20dafff6c4436d340
tree6470741fba6771fd938093feba9af7bf74e0e16a
parent34155c34aec89ea0dec94c44d714c9085beb6135
x86/hap: initialise HAP logdirty function pointers once in hap_domain_init()

rather than repeatedly initialising them each time logdirty is enabled or the
vram tracking area changes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/paging.c
xen/include/asm-x86/hap.h