On Wed, 2005-12-21 at 15:23 +1100, O Plameras wrote: > James Gregory wrote: > > >/* > > * If CONFIG_SMP is unset, declare the _raw_* definitions as nops > > */ > >#define spin_lock_init(lock) do { (void)(lock); } while(0) > >#define _raw_spin_lock(lock) do { (void)(lock); } while(0) > > > > > > > > Is this euphemism for "in ubuntu SMP is not implemented" ?
The piece of code I was citing comes from a region protected by #ifndef CONFIG_SMP And as I noted, the equivalent region which is compiled in when CONFIG_SMP *is* set, actually implements a spin lock. So I suppose you could think of it as a euphemism for "when SMP is disabled, SMP is disabled". James. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html