projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eacb0c1
)
x86/idt: Make idt_descr static
author
Jason Andryuk
<jandryuk@gmail.com>
Fri, 19 Jun 2020 20:51:02 +0000
(16:51 -0400)
committer
Borislav Petkov
<bp@suse.de>
Sat, 20 Jun 2020 09:47:35 +0000
(11:47 +0200)
Commit
3e77abda65b1
("x86/idt: Consolidate idt functionality")
states that idt_descr could be made static, but it did not actually make
the change. Make it static now.
Fixes:
3e77abda65b1
("x86/idt: Consolidate idt functionality")
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link:
https://lkml.kernel.org/r/20200619205103.30873-1-jandryuk@gmail.com
arch/x86/kernel/idt.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/idt.c
b/arch/x86/kernel/idt.c
index 0db21206f2f33a56e8d041ea781db93159144cf0..7ecf9babf0cb63e860c3f113dc247ea0d8c206f6 100644
(file)
--- a/
arch/x86/kernel/idt.c
+++ b/
arch/x86/kernel/idt.c
@@
-160,7
+160,7
@@
static const __initconst struct idt_data apic_idts[] = {
/* Must be page-aligned because the real IDT is used in the cpu entry area */
static gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
-struct desc_ptr idt_descr __ro_after_init = {
+st
atic st
ruct desc_ptr idt_descr __ro_after_init = {
.size = IDT_TABLE_SIZE - 1,
.address = (unsigned long) idt_table,
};