Re: 2.3.99-pre9 spinlock definitions...

From: Jeff V. Merkey (jmerkey@timpanogas.com)
Date: Wed Jul 05 2000 - 16:47:54 EST


Be warned. If you turn on the DEBUG_SPINLOCKS flag in this file and use
the SPIN_LOCK_UNLOCKED defaults to initialize your locks, you will get
an oops because the macro does not init all the fields. Use the
spinlock init macro instead.

Jeff

"Raj, Ashok" wrote:
>
> Hello.
>
> I tried recently moving to the latest 2.3.99-pre9 kernel and ran into this
> warning...
>
> SPIN_LOCK_UNLOCKED is defined in include/asm/spinlock.h
> and in
>
> include/linux/spinlock.h (with some gcc workaround for older gcc)
>
> can the one in linux/spinlock.h be removed safely?
>
> ashokr
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:17 EST