mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 05:36:24 +00:00
AVR32: Spinlock initializer cleanup
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
This commit is contained in:
parent
c19aa754f3
commit
e89b064a4f
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#include "clock.h"
|
||||
|
||||
static spinlock_t clk_lock = SPIN_LOCK_UNLOCKED;
|
||||
static DEFINE_SPINLOCK(clk_lock);
|
||||
|
||||
struct clk *clk_get(struct device *dev, const char *id)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue