x86/mm: Refactor p2m get_entry accessor
authorTim Deegan <tim@xen.org>
Thu, 10 Nov 2011 11:12:35 +0000 (11:12 +0000)
committerTim Deegan <tim@xen.org>
Thu, 10 Nov 2011 11:12:35 +0000 (11:12 +0000)
commitc05b1a4186037d67b25767ee654560505232bfd7
tree742d25cd146e166b06d34a0bd8a87391ea568407
parent94d9bf1a388ef3f1646431e7fac93652b5bd89e6
x86/mm: Refactor p2m get_entry accessor

Move the main query accessor to the p2m outside of an inline and into the
p2m code itself. This will allow for p2m internal locking to be added
to the accessor later.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m.c
xen/include/asm-x86/p2m.h