x86, boot: determine compressed code offset at compile time
authorH. Peter Anvin <hpa@zytor.com>
Sat, 9 May 2009 00:42:16 +0000 (17:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 9 May 2009 00:46:34 +0000 (17:46 -0700)
commit02a884c0fe7ec8459d00d34b7d4101af21fc4a86
tree164783f84130482e52290af03d96ff8e887f8605
parent36d3793c947f1ef7ba3d24eeeddc1be41adc5ab4
x86, boot: determine compressed code offset at compile time

Determine the compressed code offset (from the kernel runtime address)
at compile time.  This allows some minor optimizations in
arch/x86/boot/compressed/head_*.S, but more importantly it makes this
value available to the build process, which will enable a future patch
to export the necessary linear memory footprint into the bzImage
header.

[ Impact: cleanup, future patch enabling ]

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/boot/compressed/Makefile
arch/x86/boot/compressed/head_32.S
arch/x86/boot/compressed/head_64.S
arch/x86/boot/compressed/mkpiggy.c [new file with mode: 0644]
arch/x86/boot/compressed/vmlinux.scr [deleted file]