x86/mm: move compat descriptor table manipulation code
authorWei Liu <wei.liu2@citrix.com>
Wed, 13 Sep 2017 17:03:32 +0000 (18:03 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 22 Sep 2017 15:31:50 +0000 (16:31 +0100)
commitdb3e0e33310c3f9e87f2684050253d9edc57f6d3
tree7b8c9862a38025f54c79d29b30f419324086e835
parent67756788e3798abd050ae6df70da2cfb7af55a55
x86/mm: move compat descriptor table manipulation code

Move them alongside the non-compat variants.

Change u{32,64} to uint{32,64}_t and the type of ret from long to int
while moving.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/pv/descriptor-tables.c
xen/arch/x86/x86_64/compat/mm.c