lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-0a278662f53159354a0391a17741a20db736256a@git.kernel.org>
Date:   Tue, 29 Jan 2019 13:13:32 -0800
From:   tip-bot for Cao jin <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     caoj.fnst@...fujitsu.com, linux-kernel@...r.kernel.org,
        hpa@...or.com, mingo@...nel.org, kirill.shutemov@...ux.intel.com,
        tglx@...utronix.de, bp@...en8.de
Subject: [tip:x86/cleanups] x86/boot: Save several bytes in decompressor

Commit-ID:  0a278662f53159354a0391a17741a20db736256a
Gitweb:     https://git.kernel.org/tip/0a278662f53159354a0391a17741a20db736256a
Author:     Cao jin <caoj.fnst@...fujitsu.com>
AuthorDate: Wed, 23 Jan 2019 18:00:14 +0800
Committer:  Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue, 29 Jan 2019 22:09:12 +0100

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@...fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
Cc: <bp@...en8.de>
Cc: <hpa@...or.com>
Link: https://lkml.kernel.org/r/20190123100014.23721-1-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 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ