summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorCao jin2019-01-23 11:00:14 +0100
committerThomas Gleixner2019-01-29 22:09:12 +0100
commit0a278662f53159354a0391a17741a20db736256a (patch)
tree499c816a0dd23163b31dbb6629f44467346af5cf /arch/x86/boot
parentx86/trap: Remove useless declaration (diff)
downloadkernel-qcow2-linux-0a278662f53159354a0391a17741a20db736256a.tar.gz
kernel-qcow2-linux-0a278662f53159354a0391a17741a20db736256a.tar.xz
kernel-qcow2-linux-0a278662f53159354a0391a17741a20db736256a.zip
x86/boot: Save several bytes in decompressor
gdt64 represents the content of GDTR under x86-64, which actually needs 10 bytes only, ".long" & ".word" is superfluous. Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: <bp@alien8.de> Cc: <hpa@zytor.com> Link: https://lkml.kernel.org/r/20190123100014.23721-1-caoj.fnst@cn.fujitsu.com
Diffstat (limited to 'arch/x86/boot')
-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 64037895b085..b27b338d2f6d 100644
--- a/arch/x86/boot/compressed/head_64.S
+++ b/arch/x86/boot/compressed/head_64.S
@@ -645,8 +645,6 @@ no_longmode:
.data
gdt64:
.word gdt_end - gdt
- .long 0
- .word 0
.quad 0
gdt:
.word gdt_end - gdt