Re: [PATCH] 2.5.4 Can't use spin_lock_* with wait_queue_head_t object.

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Tue Feb 12 2002 - 16:23:39 EST


On Tue, 12 Feb 2002, Bob Miller wrote:

> There is code in sched.c that uses the spin_lock_* interfaces to acquire and
> release the lock in the wait_queue_head_t embedded in the struct completion.
>
Isn't it just that the spin_lock wasn't initialized at the start?

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (797.90 BogoMips).

    I was going to compile a list of innovations that could be
    attributed to Microsoft. Once I realized that Ctrl-Alt-Del
    was handled in the BIOS, I found that there aren't any.

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



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:51 EST