File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,6 @@ int_msg:
622
622
623
623
.data
624
624
.globl boot_gdt_descr
625
- .globl idt_descr
626
625
627
626
ALIGN
628
627
# early boot GDT descriptor (must use 1:1 address mapping)
@@ -631,11 +630,6 @@ boot_gdt_descr:
631
630
.word __BOOT_DS+7
632
631
.long boot_gdt - __PAGE_OFFSET
633
632
634
- .word 0 # 32-bit align idt_desc.address
635
- idt_descr:
636
- .word IDT_ENTRIES*8 -1 # idt contains 256 entries
637
- .long idt_table
638
-
639
633
# boot GDT descriptor (later on used by CPU#0):
640
634
.word 0 # 32 bit align gdt_desc.address
641
635
ENTRY(early_gdt_descr)
Original file line number Diff line number Diff line change 10
10
/* Must be page-aligned because the real IDT is used in a fixmap. */
11
11
gate_desc idt_table [IDT_ENTRIES ] __page_aligned_bss ;
12
12
13
- #ifdef CONFIG_X86_64
14
- /* No need to be aligned, but done to keep all IDTs defined the same way. */
15
- gate_desc debug_idt_table [IDT_ENTRIES ] __page_aligned_bss ;
16
-
17
13
struct desc_ptr idt_descr __ro_after_init = {
18
- .size = IDT_ENTRIES * 16 - 1 ,
14
+ .size = ( IDT_ENTRIES * 2 * sizeof ( unsigned long )) - 1 ,
19
15
.address = (unsigned long ) idt_table ,
20
16
};
21
17
18
+ #ifdef CONFIG_X86_64
19
+ /* No need to be aligned, but done to keep all IDTs defined the same way. */
20
+ gate_desc debug_idt_table [IDT_ENTRIES ] __page_aligned_bss ;
21
+
22
22
const struct desc_ptr debug_idt_descr = {
23
23
.size = IDT_ENTRIES * 16 - 1 ,
24
24
.address = (unsigned long ) debug_idt_table ,
You can’t perform that action at this time.
0 commit comments