x86/PoD: clean up types
authorJan Beulich <jbeulich@suse.com>
Thu, 16 Aug 2012 08:16:19 +0000 (10:16 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 16 Aug 2012 08:16:19 +0000 (10:16 +0200)
commit9663bd3f47c3a58a3ab4cd21d9ffc1cdc96b6d56
treef4efa659fb32c1126fa9645087f62b2be1f56c98
parent085c3669822399fd2fc1350c4a5db91e196d13c0
x86/PoD: clean up types

GMFN values must undoubtedly be "unsigned long". "count" and
"entry_count", since they are signed types, should also be "long" as
otherwise they can't fit all values that can fit into "d->tot_pages"
(which currently is "uint32_t").

Beyond that, the patch doesn't convert everything to "long" as in many
places it is clear that "int" suffices. In places where "long" is being
used partially already, the change is however being done.

Furthermore, page order values have no use of being "long".

Finally, in the course of updating a few printk messages anyway, some
also get slightly shortened (to focus on the relevant information).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/x86/mm/p2m-pod.c
xen/arch/x86/mm/p2m-pt.c
xen/include/asm-x86/p2m.h