x86/P2M: simplify write_p2m_entry()
authorJan Beulich <jbeulich@suse.com>
Fri, 25 Apr 2014 10:07:22 +0000 (12:07 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Apr 2014 10:07:22 +0000 (12:07 +0200)
commit3131c990b737f9892badd3184115829f05ca1edc
tree65684678e6e5646849bc17132eb4ba5c94569eb2
parent2969fe70a42c9faac5b5e31fa6e59d532d3c582f
x86/P2M: simplify write_p2m_entry()

The "table_mfn" parameter really isn't needed anywhere, so it gets
dropped.

The "struct vcpu *" one was always bogus (as was being made up by
paging_write_p2m_entry()), and is not commonly used. It can be easily
enough made up in the one place (sh_unshadow_for_p2m_change()) it is
needed, and we can otherwise pass "struct domain *" instead, properly
reflecting that P2M operations are per-domain.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/hap/nested_hap.c
xen/arch/x86/mm/p2m-pt.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/private.h
xen/include/asm-x86/p2m.h
xen/include/asm-x86/paging.h