Messages in this thread Patch in this message |  | | Date | Wed, 28 Nov 2001 15:42:55 -0800 | From | "David C. Hansen" <> | Subject | Re: [PATCH] remove BKL from drivers' release functions |
| |
Andrew Morton wrote:
>"David C. Hansen" wrote: > >>+static spinlock_t user_list_lock; >>= SPIN_LOCK_UNLOCKED; >> Whoops. Here's another patch to throw on top of the first one.
--- linux-2.5.1-pre2-dirty/arch/i386/kernel/apm.c Wed Nov 28 15:37:59 2001 +++ linux/arch/i386/kernelapm.c Wed Nov 28 15:37:41 2001 @@ -387,7 +387,7 @@ static DECLARE_WAIT_QUEUE_HEAD(apm_waitqueue); static DECLARE_WAIT_QUEUE_HEAD(apm_suspend_waitqueue); static struct apm_user * user_list; +static spinlock_t user_list_lock = SPIN_LOCK_UNLOCKED; -static spinlock_t user_list_lock; static char driver_version[] = "1.15"; /* no spaces */
- 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/
|  |