lkml.org 
[lkml]   [2004]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] fix rmmod sbp2 hang in 2.6.7
On Wed, 14 Jul 2004 16:13:57 +0800
Hugang <hugang@soulinfo.com> wrote:

| On Wed, 14 Jul 2004 11:48:54 +0800
| Hugang <hugang@soulinfo.com> wrote:
|
....
| Sorry, the above patch, can't fix rmmod sbp2 complete,I still got hang when
| rmmod sbp2 in my PowerBook G4 sometimes.
|

This new patch can complete fix the bug. That's really hack. Any comment are
welcome.
--- orig/drivers/base/driver.c
+++ mod/drivers/base/driver.c
@@ -107,8 +107,8 @@
void driver_unregister(struct device_driver * drv)
{
bus_remove_driver(drv);
- down(&drv->unload_sem);
- up(&drv->unload_sem);
+ //down(&drv->unload_sem);
+ //up(&drv->unload_sem);
}


--
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.036 / U:1.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site