diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2009-02-23 22:56:58 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-24 18:08:38 +0100 |
commit | 5e112ae23b404ccba0a61630b82ec44f0d084880 (patch) | |
tree | fbc3236de2589a586366aca1fc025c3a1a091452 | |
parent | 2a0b1001116de51f13b2969a9a52bd2bc294644f (diff) |
x86: head_64.S - use IDT_ENTRIES instead of hardcoded number
Impact: cleanup
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: heukelum@fastmail.fm
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/head_64.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S index 52c9af429dd..54b29bb24e7 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S @@ -417,7 +417,7 @@ ENTRY(phys_base) .section .bss, "aw", @nobits .align L1_CACHE_BYTES ENTRY(idt_table) - .skip 256 * 16 + .skip IDT_ENTRIES * 16 .section .bss.page_aligned, "aw", @nobits .align PAGE_SIZE |