The following commit has been merged into the x86/asm branch of tip: Commit-ID: 5aa5cbd2e95e0079b2cc6b4b66f0d0de5e0fbbfd Gitweb: https://git.kernel.org/tip/5aa5cbd2e95e0079b2cc6b4b66f0d0de5e0fbbfd Author: Jiri Slaby <jslaby@xxxxxxx> AuthorDate: Thu, 03 Oct 2019 11:52:38 +02:00 Committer: Borislav Petkov <bp@xxxxxxx> CommitterDate: Sat, 05 Oct 2019 12:11:05 +02:00 x86/asm: Make boot_gdt_descr local As far as I can see, it was never used outside of head_32.S. Not even when added in 2004. So make it local. Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> Signed-off-by: Borislav Petkov <bp@xxxxxxx> Cc: "H. Peter Anvin" <hpa@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: x86-ml <x86@xxxxxxxxxx> Link: https://lkml.kernel.org/r/20191003095238.29831-2-jslaby@xxxxxxx --- arch/x86/kernel/head_32.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 30f9cb2..7feb953 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -597,8 +597,6 @@ int_msg: */ .data -.globl boot_gdt_descr - ALIGN # early boot GDT descriptor (must use 1:1 address mapping) .word 0 # 32 bit align gdt_desc.address
![]() |