diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-04-29 16:10:34 +0000 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-05-09 08:48:39 +0200 |
commit | e89b064a4fd18b9c57b7aecbe7101d782759cf81 (patch) | |
tree | 17c920d1a4782b50a8ddec64b8e489473209208e /arch/avr32/kernel | |
parent | c19aa754f32ff1dd7cb8e96454f5eba95c20585e (diff) | |
download | blackbird-op-linux-e89b064a4fd18b9c57b7aecbe7101d782759cf81.tar.gz blackbird-op-linux-e89b064a4fd18b9c57b7aecbe7101d782759cf81.zip |
AVR32: Spinlock initializer cleanup
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/kernel')
-rw-r--r-- | arch/avr32/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/kernel/traps.c b/arch/avr32/kernel/traps.c index 4de9edf96ed2..86d107511dd4 100644 --- a/arch/avr32/kernel/traps.c +++ b/arch/avr32/kernel/traps.c @@ -123,7 +123,7 @@ asmlinkage void do_address_exception(unsigned long ecr, struct pt_regs *regs) /* This way of handling undefined instructions is stolen from ARM */ static LIST_HEAD(undef_hook); -static spinlock_t undef_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(undef_lock); void register_undef_hook(struct undef_hook *hook) { |