diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-10-03 13:41:19 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 19:32:35 +0100 |
commit | 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 (patch) | |
tree | 92a4e77e077718d08c6733f7abe604ca0c132042 /arch/mips/pmc-sierra | |
parent | 57468af3267bfb89391f9c607a9637e86e55d299 (diff) | |
download | op-kernel-dev-2f69ddccb01632dfe5d0ef946ee99000463cd9c4.zip op-kernel-dev-2f69ddccb01632dfe5d0ef946ee99000463cd9c4.tar.gz |
Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pmc-sierra')
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pmc-sierra/yosemite/smp.c b/arch/mips/pmc-sierra/yosemite/smp.c index 1d3b073..0527170 100644 --- a/arch/mips/pmc-sierra/yosemite/smp.c +++ b/arch/mips/pmc-sierra/yosemite/smp.c @@ -9,7 +9,7 @@ extern void (*mips_hpt_init)(unsigned int); #define LAUNCHSTACK_SIZE 256 -static spinlock_t launch_lock __initdata; +static __initdata DEFINE_SPINLOCK(launch_lock); static unsigned long secondary_sp __initdata; static unsigned long secondary_gp __initdata; |