[patch 2/6] x86: head_64.S - use IDT_ENTRIES instead of hardcoded number

From: Cyrill Gorcunov
Date: Mon Feb 23 2009 - 15:03:38 EST


Impact: cleanup

Signed-off-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
---
arch/x86/kernel/head_64.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.git/arch/x86/kernel/head_64.S
===================================================================
--- linux-2.6.git.orig/arch/x86/kernel/head_64.S
+++ linux-2.6.git/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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/