[PATCH 2.6.0-test4][NET] sk_mca.c: fix linker error

From: Vinay K Nallamothu
Date: Sat Aug 23 2003 - 08:03:51 EST


Hi,

This patch fixes the following linker error due to a typo:

*** Warning: "spin_lock_irqrestore" [drivers/net/sk_mca.ko] undefined!

--- linux-2.6.0-test4/drivers/net/sk_mca.c 2003-07-28 10:43:57.000000000 +0530
+++ linux-2.6.0-test4-nvk/drivers/net/sk_mca.c 2003-08-23 18:47:55.000000000 +0530
@@ -280,7 +280,7 @@

/* reenable interrupts */

- spin_lock_irqrestore(&priv->lock, flags);
+ spin_unlock_irqrestore(&priv->lock, flags);
}

/* get LANCE register */

-
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/