diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 15:06:45 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 10:58:55 +0200 |
commit | 555cf2b5805a213ba262a2830c4d22ad635a249e (patch) | |
tree | bfce5b3e62687a492a9b7280419c0cbf1d56fd3d | |
parent | 8c5e5ac32fe08793246709fbb94c055ec76a7c0e (diff) | |
download | op-kernel-dev-555cf2b5805a213ba262a2830c4d22ad635a249e.zip op-kernel-dev-555cf2b5805a213ba262a2830c4d22ad635a249e.tar.gz |
xen64: add asm-offsets
Add Xen vcpu_info offsets to asm-offsets_64.
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>
-rw-r--r-- | arch/x86/kernel/asm-offsets_64.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c index 0f7e1f09..aa89387 100644 --- a/arch/x86/kernel/asm-offsets_64.c +++ b/arch/x86/kernel/asm-offsets_64.c @@ -18,6 +18,8 @@ #include <asm/ia32.h> #include <asm/bootparam.h> +#include <xen/interface/xen.h> + #define __NO_STUBS 1 #undef __SYSCALL #undef _ASM_X86_64_UNISTD_H_ @@ -134,5 +136,11 @@ int main(void) BLANK(); DEFINE(PAGE_SIZE_asm, PAGE_SIZE); +#ifdef CONFIG_XEN + BLANK(); + OFFSET(XEN_vcpu_info_mask, vcpu_info, evtchn_upcall_mask); + OFFSET(XEN_vcpu_info_pending, vcpu_info, evtchn_upcall_pending); +#undef ENTRY +#endif return 0; } |