]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: head_64.S - use IDT_ENTRIES instead of hardcoded number
authorCyrill Gorcunov <gorcunov@gmail.com>
Mon, 23 Feb 2009 19:56:58 +0000 (22:56 +0300)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Feb 2009 17:08:38 +0000 (18:08 +0100)
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>
arch/x86/kernel/head_64.S

index 52c9af429dd87dcc0d487fe70cc7422e038cc58f..54b29bb24e7178f931d4681426b4276191b0255f 100644 (file)
@@ -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