]> xenbits.xensource.com Git - xen.git/commit
x86/shadow: Misc minor cleanup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Dec 2016 11:23:00 +0000 (11:23 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 13 Dec 2016 10:02:50 +0000 (10:02 +0000)
commitc6936ab0ca4336515a40d6f18ef47e9c7031e26b
tree41670d615234b533c3e307be91e46626b75a119d
parent6629754fc1793782669dfe6d3c668caf1e6b4e54
x86/shadow: Misc minor cleanup

 * Move the #ifdefary inside sh_audit_gw() to avoid needing the else clause.
 * The walk_t parameter is only ever read, so make it const.
 * Use mfn_eq() rather than opencoding it.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/multi.c