diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:31:32 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:31:32 +0200 |
commit | 765ae317ce030217af556dc46bec238dab15091e (patch) | |
tree | b2460562ac2d6b2efe9138f3cf6c66b1cab308fa /arch/sh/kernel/traps.c | |
parent | sh: flush_cache_range() cleanup and optimizations. (diff) | |
download | linux-765ae317ce030217af556dc46bec238dab15091e.tar.xz linux-765ae317ce030217af556dc46bec238dab15091e.zip |
sh: Fixup some uninitialized spinlocks.
Fix use of uninitialized spinlocks, caught with spinlock debugging..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps.c')
-rw-r--r-- | arch/sh/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index d9db1180f770..21bef1b5f991 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c @@ -86,7 +86,7 @@ asmlinkage void do_##name(unsigned long r4, unsigned long r5, \ #define VMALLOC_OFFSET (8*1024*1024) #define MODULE_RANGE (8*1024*1024) -spinlock_t die_lock; +DEFINE_SPINLOCK(die_lock); void die(const char * str, struct pt_regs * regs, long err) { |