xen64: register callbacks in arch-independent way
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 8 Jul 2008 22:07:02 +0000 (15:07 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 16 Jul 2008 09:03:01 +0000 (11:03 +0200)
commit88459d4c7eb68c4a15609e00e5d100e2a305f040
tree71514d9bffc9854440e848d4f455713d0a4619da
parent952d1d7055c8cbf95b4ad2f90be5ed37db8a48ee
xen64: register callbacks in arch-independent way

Use callback_op hypercall to register callbacks in a 32/64-bit
independent way (64-bit doesn't need a code segment, but that detail
is hidden in XEN_CALLBACK).

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/xen/setup.c
include/asm-x86/xen/hypercall.h