diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2009-02-23 14:56:58 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-24 12:08:38 -0500 |
commit | 5e112ae23b404ccba0a61630b82ec44f0d084880 (patch) | |
tree | fbc3236de2589a586366aca1fc025c3a1a091452 /arch/x86/kernel/head_64.S | |
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>
Diffstat (limited to 'arch/x86/kernel/head_64.S')
-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 52c9af429dd8..54b29bb24e71 100644 --- a/arch/x86/kernel/head_64.S +++ b/arch/x86/kernel/head_64.S | |||
@@ -417,7 +417,7 @@ ENTRY(phys_base) | |||
417 | .section .bss, "aw", @nobits | 417 | .section .bss, "aw", @nobits |
418 | .align L1_CACHE_BYTES | 418 | .align L1_CACHE_BYTES |
419 | ENTRY(idt_table) | 419 | ENTRY(idt_table) |
420 | .skip 256 * 16 | 420 | .skip IDT_ENTRIES * 16 |
421 | 421 | ||
422 | .section .bss.page_aligned, "aw", @nobits | 422 | .section .bss.page_aligned, "aw", @nobits |
423 | .align PAGE_SIZE | 423 | .align PAGE_SIZE |