diff options
author | Milind Arun Choudhary <milindchoudhary@gmail.com> | 2007-05-06 17:50:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-07 15:12:59 -0400 |
commit | 241258d1cc4d3551608364cd678d5a85239ad481 (patch) | |
tree | 8489b00c837e01f22e84e1c7b310d3b255d9e5a1 /arch/m68k/kernel | |
parent | edfe7a569687c2cd85e82eaecae5b260577accbb (diff) |
SPIN_LOCK_UNLOCKED cleanup in arch/m68k
SPIN_LOCK_UNLOCKED cleanup,use __SPIN_LOCK_UNLOCKED instead
Signed-off-by: Milind Arun Choudhary <milindchoudhary@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/ints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m68k/kernel/ints.c b/arch/m68k/kernel/ints.c index b66c97c904b3..60d4d75f5798 100644 --- a/arch/m68k/kernel/ints.c +++ b/arch/m68k/kernel/ints.c | |||
@@ -59,14 +59,14 @@ static int m68k_first_user_vec; | |||
59 | 59 | ||
60 | static struct irq_controller auto_irq_controller = { | 60 | static struct irq_controller auto_irq_controller = { |
61 | .name = "auto", | 61 | .name = "auto", |
62 | .lock = SPIN_LOCK_UNLOCKED, | 62 | .lock = __SPIN_LOCK_UNLOCKED(auto_irq_controller.lock), |
63 | .startup = m68k_irq_startup, | 63 | .startup = m68k_irq_startup, |
64 | .shutdown = m68k_irq_shutdown, | 64 | .shutdown = m68k_irq_shutdown, |
65 | }; | 65 | }; |
66 | 66 | ||
67 | static struct irq_controller user_irq_controller = { | 67 | static struct irq_controller user_irq_controller = { |
68 | .name = "user", | 68 | .name = "user", |
69 | .lock = SPIN_LOCK_UNLOCKED, | 69 | .lock = __SPIN_LOCK_UNLOCKED(user_irq_controller.lock), |
70 | .startup = m68k_irq_startup, | 70 | .startup = m68k_irq_startup, |
71 | .shutdown = m68k_irq_shutdown, | 71 | .shutdown = m68k_irq_shutdown, |
72 | }; | 72 | }; |