Commit 5e112ae2 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar

x86: head_64.S - use IDT_ENTRIES instead of hardcoded number

Impact: cleanup
Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
Cc: heukelum@fastmail.fm
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2a0b1001
...@@ -417,7 +417,7 @@ ENTRY(phys_base) ...@@ -417,7 +417,7 @@ ENTRY(phys_base)
.section .bss, "aw", @nobits .section .bss, "aw", @nobits
.align L1_CACHE_BYTES .align L1_CACHE_BYTES
ENTRY(idt_table) ENTRY(idt_table)
.skip 256 * 16 .skip IDT_ENTRIES * 16
.section .bss.page_aligned, "aw", @nobits .section .bss.page_aligned, "aw", @nobits
.align PAGE_SIZE .align PAGE_SIZE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment