]> git.hungrycats.org Git - linux/commitdiff
Don't panic on a corrupt MP table. It's likely just a broken UP BIOS.
authorLinus Torvalds <torvalds@home.osdl.org>
Thu, 13 Nov 2003 06:55:23 +0000 (22:55 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 13 Nov 2003 06:55:23 +0000 (22:55 -0800)
So just print a warning and continue.

arch/i386/kernel/mpparse.c

index ac55df3baae0d93b79281206c9dea6142b2d2a3d..b0500b084f5ed7bf7e5eb5aef541acdb4dbfc78b 100644 (file)
@@ -361,7 +361,7 @@ static int __init smp_read_mpc(struct mp_config_table *mpc)
        unsigned char *mpt=((unsigned char *)mpc)+count;
 
        if (memcmp(mpc->mpc_signature,MPC_SIGNATURE,4)) {
-               panic("SMP mptable: bad signature [%c%c%c%c]!\n",
+               printk("SMP mptable: bad signature [%c%c%c%c]!\n",
                        mpc->mpc_signature[0],
                        mpc->mpc_signature[1],
                        mpc->mpc_signature[2],
@@ -369,7 +369,7 @@ static int __init smp_read_mpc(struct mp_config_table *mpc)
                return 0;
        }
        if (mpf_checksum((unsigned char *)mpc,mpc->mpc_length)) {
-               panic("SMP mptable: checksum error!\n");
+               printk("SMP mptable: checksum error!\n");
                return 0;
        }
        if (mpc->mpc_spec!=0x01 && mpc->mpc_spec!=0x04) {