[PATCH] Initialise spinlock in the DEBUG_PAGEALLOC code
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
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).
More information about the Linuxppc-dev