xen: fix incorrect vcpu_register_vcpu_info hypercall argument
authorJeremy Fitzhardinge <jeremy@xensource.com>
Tue, 16 Oct 2007 18:51:31 +0000 (11:51 -0700)
committerJeremy Fitzhardinge <jeremy@goop.org>
Tue, 16 Oct 2007 18:51:31 +0000 (11:51 -0700)
commite3d2697669abbe26c08dc9b95e2a71c634d096ed
treea253ae576a5820adfdaa59ee3b95ea0dd34e354d
parentfb1d84043ca73212b08ff57608f51b372529e6d6
xen: fix incorrect vcpu_register_vcpu_info hypercall argument

The kernel's copy of struct vcpu_register_vcpu_info was out of date,
at best causing the hypercall to fail and the guest kernel to fall
back to the old mechanism, or worse, causing random memory corruption.

[ Stable folks: applies to 2.6.23 ]

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Stable Kernel <stable@kernel.org>
Cc: Morten =?utf-8?q?B=C3=B8geskov?= <xen-users@morten.bogeskov.dk>
Cc: Mark Williamson <mark.williamson@cl.cam.ac.uk>
arch/x86/xen/enlighten.c
include/xen/interface/vcpu.h