[PATCH] Initialise spinlock in the DEBUG_PAGEALLOC code
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
> 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.
OzLabs, IBM Australia Development Lab
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
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Linuxppc-dev