]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: fix HYPERVISOR_update_descriptor()
authorJan Beulich <jbeulich@novell.com>
Thu, 12 Mar 2009 11:54:54 +0000 (11:54 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 12 Mar 2009 11:56:21 +0000 (12:56 +0100)
commit6a5c05f002c3e4f24887a5fe8e7df757d339d368
tree4e9d44f3d7dba55a7238883b7ce87c68615991ee
parentafcfe024aebd74b0984a41af9a34e009cf5badaf
x86: fix HYPERVISOR_update_descriptor()

Impact: fix potential oops during app-initiated LDT manipulation

The underlying hypercall has differing argument requirements on 32-
and 64-bit.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
LKML-Reference: <49B9061E.76E4.0078.0@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/xen/hypercall.h