summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-02-23 22:56:58 +0300
committerIngo Molnar <mingo@elte.hu>2009-02-24 18:08:38 +0100
commit5e112ae23b404ccba0a61630b82ec44f0d084880 (patch)
treefbc3236de2589a586366aca1fc025c3a1a091452
parent2a0b1001116de51f13b2969a9a52bd2bc294644f (diff)
downloadblackbird-op-linux-5e112ae23b404ccba0a61630b82ec44f0d084880.tar.gz
blackbird-op-linux-5e112ae23b404ccba0a61630b82ec44f0d084880.zip
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.S2
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)
.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
OpenPOWER on IntegriCloud