diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-09 02:06:44 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 12:58:41 +0400 |
commit | 8c5e5ac32fe08793246709fbb94c055ec76a7c0e (patch) | |
tree | 1aaaa79ab8351f406d79f7e60fdf7991566dc5c4 /arch/x86/kernel/asm-offsets_64.c | |
parent | c7b75947f89d45493562ede6d9ee7311dfa5c4ce (diff) | |
download | linux-8c5e5ac32fe08793246709fbb94c055ec76a7c0e.tar.xz |
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; } |