[PATCH] one liner to adhere to MP1.4 specifications

From: Zwane Mwaikambo (zwane@linux.realnet.co.sz)
Date: Tue Nov 20 2001 - 05:01:42 EST


Diffed against 2.4.15-pre6, changes the MP flointing pointer
struct scanning from the whole 4k of the EBDA to only the first k as
specified in the MP1.4 spec sheets.

Regards,
        Zwane Mwaikambo

diff -urb linux-2.4.15-pre6-orig/arch/i386/kernel/mpparse.c linux-2.4.15-pre6-zm/arch/i386/kernel/mpparse.c
--- linux-2.4.15-pre6-orig/arch/i386/kernel/mpparse.c Sun Nov 18 15:18:05 2001
+++ linux-2.4.15-pre6-zm/arch/i386/kernel/mpparse.c Tue Nov 20 11:46:20 2001
@@ -803,7 +803,7 @@

         address = *(unsigned short *)phys_to_virt(0x40E);
         address <<= 4;
- smp_scan_config(address, 0x1000);
+ smp_scan_config(address, 0x400);
         if (smp_found_config)
                 printk(KERN_WARNING "WARNING: MP table in the EBDA can be UNSAFE, contact linux-smp@vger.kernel.org if you experience SMP problems!\n");
 }

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



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:23 EST