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 <[email protected]>
AuthorDate:    Thu, 03 Oct 2019 11:52:38 +02:00
Committer:     Borislav Petkov <[email protected]>
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: x86-ml <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
---
 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

Reply via email to