[PATCH] Initialise spinlock in the DEBUG_PAGEALLOC code

Michael Ellerman michael at ellerman.id.au
Wed Apr 18 11:38:48 EST 2007


On Tue, 2007-04-17 at 02:57 -0500, Milton Miller wrote:
> On Tue Apr 17 11:43:12 EST 2007, Michael Ellerman wrote:
> > -static spinlock_t linear_map_hash_lock;
> > +static spinlock_t linear_map_hash_lock = SPIN_LOCK_UNLOCKED;
> 
> I think the people in this thread
> 
> [KJ][PATCH]SPIN_LOCK_UNLOCKED cleanup in arch/powerpc
> http://ozlabs.org/pipermail/linuxppc-dev/2007-April/034210.html
> 
> SPIN_LOCK_UNLOCKED cleanup,use DEFINE_SPINLOCK or
> __SPIN_LOCK_UNLOCKED where ever appropriate.
> 
> would like you to initialize it differently.  (I think it has
> to do with the lock dependancy stuff).

And it's documented where .. ?

I'll send a new patch.

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20070418/88734792/attachment.pgp>


More information about the Linuxppc-dev mailing list