x86/paging: Package up the log dirty function pointers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Feb 2017 16:42:16 +0000 (16:42 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Feb 2017 10:07:54 +0000 (10:07 +0000)
commit45ac805f7f21c5994b000eba9ab2669cbbec8c9d
treea7f19d3021f5d27ecfee1eb94e32cf1f22e71085
parent5cecf60f439e828f4bc0d2a368ced9a73b130cb7
x86/paging: Package up the log dirty function pointers

They depend soley on paging mode, so don't need to be repeated per domain, and
can live in .rodata.  While making this change, drop the redundant log_dirty
from the function pointer names.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/domain.h
xen/include/asm-x86/paging.h