diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 15:06:44 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 10:58:41 +0200 |
commit | 8c5e5ac32fe08793246709fbb94c055ec76a7c0e (patch) | |
tree | 1aaaa79ab8351f406d79f7e60fdf7991566dc5c4 /arch/x86/kernel/asm-offsets_64.c | |
parent | c7b75947f89d45493562ede6d9ee7311dfa5c4ce (diff) | |
download | kernel-common-8c5e5ac32fe08793246709fbb94c055ec76a7c0e.tar.gz kernel-common-8c5e5ac32fe08793246709fbb94c055ec76a7c0e.tar.bz2 kernel-common-8c5e5ac32fe08793246709fbb94c055ec76a7c0e.zip |
xen64: add xen-head code to head_64.S
Add the Xen entrypoint and ELF notes to head_64.S. Adapts xen-head.S
to compile either 32-bit or 64-bit.
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>
Diffstat (limited to 'arch/x86/kernel/asm-offsets_64.c')
-rw-r--r-- | arch/x86/kernel/asm-offsets_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c index bacf5deeec2d..0f7e1f09aa09 100644 --- a/arch/x86/kernel/asm-offsets_64.c +++ b/arch/x86/kernel/asm-offsets_64.c @@ -131,5 +131,8 @@ int main(void) OFFSET(BP_loadflags, boot_params, hdr.loadflags); OFFSET(BP_hardware_subarch, boot_params, hdr.hardware_subarch); OFFSET(BP_version, boot_params, hdr.version); + + BLANK(); + DEFINE(PAGE_SIZE_asm, PAGE_SIZE); return 0; } |