x86/EPT: adjust types in ept_split_super_page()
authorJan Beulich <jbeulich@suse.com>
Tue, 29 Sep 2015 11:54:55 +0000 (13:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Sep 2015 11:54:55 +0000 (13:54 +0200)
commit53e3f77bfa108aa83396f84027df0abc852e121c
treeb9e62d50a6dbdee1d7806c92dbc96217ec4d2731
parent0e9e09880d5f65ccb178d6c5785305ecf5715bba
x86/EPT: adjust types in ept_split_super_page()

The function returns a boolean and its current and target level inputs
are unsigned (which in turn allows simplifying the early-out check).
Also convert a non-standard loop variable to an ordinary function scope
one, at once making it unsigned too.

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