Commit d566c1c5 authored by Russell King's avatar Russell King

[ARM] Initialise an uninitialised spinlock.

parent 08be072b
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#define MAX_IRQ_CNT 100000 #define MAX_IRQ_CNT 100000
static volatile unsigned long irq_err_count; static volatile unsigned long irq_err_count;
static spinlock_t irq_controller_lock; static spinlock_t irq_controller_lock = SPIN_LOCK_UNLOCKED;
static LIST_HEAD(irq_pending); static LIST_HEAD(irq_pending);
struct irqdesc irq_desc[NR_IRQS]; struct irqdesc irq_desc[NR_IRQS];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment