Messages in this thread Patch in this message | | | From | Cao jin <> | Subject | [PATCH] x86/boot: save several bytes in decompressor | Date | Wed, 23 Jan 2019 18:00:14 +0800 |
| |
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> --- arch/x86/boot/compressed/head_64.S | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arch/x86/boot/compressed/head_64.S b/arch/x86/boot/compressed/head_64.S index 58f6a467f1fa..541358454f10 100644 --- a/arch/x86/boot/compressed/head_64.S +++ b/arch/x86/boot/compressed/head_64.S @@ -642,8 +642,6 @@ no_longmode: .data gdt64: .word gdt_end - gdt - .long 0 - .word 0 .quad 0 gdt: .word gdt_end - gdt -- 2.17.0
| |