diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-03 14:41:19 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 20:32:35 +0200 |
commit | 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 (patch) | |
tree | 92a4e77e077718d08c6733f7abe604ca0c132042 /arch/mips/au1000/common/dbdma.c | |
parent | Define and initialize kdb_lock using DEFINE_SPINLOCK. (diff) | |
download | linux-2f69ddccb01632dfe5d0ef946ee99000463cd9c4.tar.xz linux-2f69ddccb01632dfe5d0ef946ee99000463cd9c4.zip |
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000/common/dbdma.c')
-rw-r--r-- | arch/mips/au1000/common/dbdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c index 80d241b9c6f4..a5a6709637e0 100644 --- a/arch/mips/au1000/common/dbdma.c +++ b/arch/mips/au1000/common/dbdma.c @@ -58,7 +58,7 @@ * functions. The drivers allocate the data buffers and assign them * to the descriptors. */ -static spinlock_t au1xxx_dbdma_spin_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(au1xxx_dbdma_spin_lock); /* I couldn't find a macro that did this...... */ |