[PATCH] Initialise spinlock in the DEBUG_PAGEALLOC code

Milton Miller miltonm at bga.com
Tue Apr 17 17:57:55 EST 2007


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).

milton




More information about the Linuxppc-dev mailing list