Re: [KJ]remove SPIN_LOCK_UNLOCKED

Roland Dreier
2007-04-10T21:13:15Z

> Fact is, we cannot remove SPIN_LOCK_UNLOCKED. It's needed for
> variables outside functions:
>
> static spinlock_t foobar = SPIN_LOCK_UNLOCKED;

DEFINE_SPINLOCK() is provided to define variables that way.

- R.