diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-12 01:02:10 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-12 01:17:05 +0200 |
commit | 99aa45595f45603526513d5e29fc00f8afbf3913 (patch) | |
tree | 6c78891c04c10f6af014891fbbaf63c7276a5c24 /arch/x86/boot/compressed/head_32.S | |
parent | x86, boot: use LOAD_PHYSICAL_ADDR on 64 bits (diff) | |
download | linux-99aa45595f45603526513d5e29fc00f8afbf3913.tar.xz linux-99aa45595f45603526513d5e29fc00f8afbf3913.zip |
x86, boot: remove dead code from boot/compressed/head_*.S
Remove a couple of lines of dead code from
arch/x86/boot/compressed/head_*.S; all of these update registers that
are dead in the current code.
[ Impact: cleanup ]
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/boot/compressed/head_32.S')
-rw-r--r-- | arch/x86/boot/compressed/head_32.S | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S index 470474bafc4d..2b8e0dfa4b27 100644 --- a/arch/x86/boot/compressed/head_32.S +++ b/arch/x86/boot/compressed/head_32.S @@ -100,16 +100,6 @@ ENTRY(startup_32) popl %esi /* - * Compute the kernel start address. - */ -#ifdef CONFIG_RELOCATABLE - addl $(CONFIG_PHYSICAL_ALIGN - 1), %ebp - andl $(~(CONFIG_PHYSICAL_ALIGN - 1)), %ebp -#else - movl $LOAD_PHYSICAL_ADDR, %ebp -#endif - -/* * Jump to the relocated address. */ leal relocated(%ebx), %eax |