lkml.org 
[lkml]   [2000]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.3.99-pre9 spinlock definitions...

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/

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