summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/head_64.S
diff options
context:
space:
mode:
authorH. Peter Anvin2009-05-12 01:02:10 +0200
committerH. Peter Anvin2009-05-12 01:17:05 +0200
commit99aa45595f45603526513d5e29fc00f8afbf3913 (patch)
tree6c78891c04c10f6af014891fbbaf63c7276a5c24 /arch/x86/boot/compressed/head_64.S
parentx86, boot: use LOAD_PHYSICAL_ADDR on 64 bits (diff)
downloadkernel-qcow2-linux-99aa45595f45603526513d5e29fc00f8afbf3913.tar.gz
kernel-qcow2-linux-99aa45595f45603526513d5e29fc00f8afbf3913.tar.xz
kernel-qcow2-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_64.S')
-rw-r--r--arch/x86/boot/compressed/head_64.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S
index 4135d438b662..2bb500af1bd7 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -226,10 +226,8 @@ ENTRY(startup_64)
leaq startup_32(%rip) /* - $startup_32 */, %rbp
addq $(PMD_PAGE_SIZE - 1), %rbp
andq $PMD_PAGE_MASK, %rbp
- movq %rbp, %rbx
#else
movq $LOAD_PHYSICAL_ADDR, %rbp
- movq %rbp, %rbx
#endif
/* Target address to relocate to for decompression */