The patch titled
     x86-64: call clear_bss() before set_intr_gate() with early_idt_handler()
has been added to the -mm tree.  Its filename is
     x86-64-calling-clear_bss-before-set_intr_gate-with-early_idt_handler.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: x86-64: call clear_bss() before set_intr_gate() with 
early_idt_handler()
From: "Yinghai Lu" <[EMAIL PROTECTED]>

idt_table is in the .bss section, so clear_bss need to be called first.

Acked-by: Eric Biederman <[EMAIL PROTECTED]>
Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]>
Cc: Andi Kleen <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/x86_64/kernel/head64.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -puN 
arch/x86_64/kernel/head64.c~x86-64-calling-clear_bss-before-set_intr_gate-with-early_idt_handler
 arch/x86_64/kernel/head64.c
--- 
a/arch/x86_64/kernel/head64.c~x86-64-calling-clear_bss-before-set_intr_gate-with-early_idt_handler
+++ a/arch/x86_64/kernel/head64.c
@@ -57,10 +57,12 @@ void __init x86_64_start_kernel(char * r
 {
        int i;
 
-       for (i = 0; i < 256; i++)
+       /* clear bss before set_intr_gate with early_idt_handler */
+       clear_bss();
+
+       for (i = 0; i < IDT_ENTRIES; i++)
                set_intr_gate(i, early_idt_handler);
        asm volatile("lidt %0" :: "m" (idt_descr));
-       clear_bss();
 
        early_printk("Kernel alive\n");
 
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

tidy-gregkh-pci-pci-check-szhi-when-sz-is-0-when-64-bit-iomem-bigger-than-4g.patch
fix-gregkh-pci-pci-check-szhi-when-sz-is-0-when-64-bit-iomem-bigger-than-4g.patch
fix-2-gregkh-pci-pci-check-szhi-when-sz-is-0-when-64-bit-iomem-bigger-than-4g.patch
x86-64-calling-clear_bss-before-set_intr_gate-with-early_idt_handler.patch
x86-64-change-the-size-for-interrupt-array-to-nr_vectors.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to