Re: [PATCH] fix rmmod sbp2 hang in 2.6.7

From: Hugang
Date: Wed Jul 14 2004 - 03:25:36 EST


On Wed, 14 Jul 2004 11:48:54 +0800
Hugang <hugang@xxxxxxxxxxxx> wrote:

| Hi:
|
| http://sourceforge.net/mailarchive/forum.php?thread_id=5036991&forum_id=5389
|
| * modified files
|
| --- orig/drivers/base/driver.c
| +++ mod/drivers/base/driver.c
| @@ -106,8 +106,8 @@
|
| void driver_unregister(struct device_driver * drv)
| {
| - bus_remove_driver(drv);
| down(&drv->unload_sem);
| + bus_remove_driver(drv);
| up(&drv->unload_sem);
| }
|

Sorry, the above patch, can't fix rmmod sbp2 complete,I still got hang when
rmmod sbp2 in my PowerBook G4 sometimes.

--
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/hugang.asc
-
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/