x86/PV: relax LDT address check
authorJan Beulich <jbeulich@suse.com>
Thu, 21 Jan 2016 15:09:58 +0000 (16:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 21 Jan 2016 15:09:58 +0000 (16:09 +0100)
commitf289b9a4a7b2337288253671a12b9519fd275b8d
tree2a71cf760e1645aa89bf8a870d07bc04d646f052
parent828e114f7cdd9910483783ab0563b178325e579a
x86/PV: relax LDT address check

There's no point placing restrictions on its address when the LDT size
is zero.

Also convert a local variable to a slightly more efficient type.

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