Messages in this thread | | | Date | Wed, 05 Jul 2000 15:47:54 -0600 | From | "Jeff V. Merkey" <> | Subject | Re: 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/
| |