diff options
author | Jiri Slaby <jslaby@suse.cz> | 2019-10-03 11:52:38 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2019-10-05 12:11:05 +0200 |
commit | 5aa5cbd2e95e0079b2cc6b4b66f0d0de5e0fbbfd (patch) | |
tree | bbb74ff61f499f655829082a4aface508b89f7ef /arch/x86 | |
parent | x86/asm: Reorder early variables (diff) | |
download | linux-5aa5cbd2e95e0079b2cc6b4b66f0d0de5e0fbbfd.tar.xz linux-5aa5cbd2e95e0079b2cc6b4b66f0d0de5e0fbbfd.zip |
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@suse.cz>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20191003095238.29831-2-jslaby@suse.cz
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/head_32.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 30f9cb2c0b55..7feb953e10d2 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 |