x86/p2m: Reposition p2m_teardown_nestedp2m() to avoid its forward declaration
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Feb 2017 15:15:56 +0000 (15:15 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 9 Feb 2017 10:39:03 +0000 (10:39 +0000)
commit384b61f97c068a3dcfdacce7fdb00a4eff4ee9d5
tree69aff2b245650cb5b3a32a3f04614a3347f691d3
parent1edbf34e63c8c286137591f8574c0bf9a4221312
x86/p2m: Reposition p2m_teardown_nestedp2m() to avoid its forward declaration

While adjusting these functions, use unsigned int rather than uint8_t for the
loop variable, and fix the whitespace style.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/p2m.c