projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f8289
)
[MIPS] DEC: Initialise ioasic_ssr_lock
author
Maciej W. Rozycki
<macro@linux-mips.org>
Mon, 17 Sep 2007 15:58:18 +0000
(16:58 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Sep 2007 18:33:14 +0000
(19:33 +0100)
Fix the definition of the ioasic_ssr_lock spinlock to include a proper
initialisation.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/dec/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/dec/setup.c
b/arch/mips/dec/setup.c
index b8a5e75ba0ab4b6bce2bc979a8c7527f050c571d..3e634f2f5443585c98a6f360ac595b7f3774d6d2 100644
(file)
--- a/
arch/mips/dec/setup.c
+++ b/
arch/mips/dec/setup.c
@@
-55,7
+55,7
@@
EXPORT_SYMBOL(dec_kn_slot_size);
int dec_tc_bus;
-
spinlock_t ioasic_ssr_lock
;
+
DEFINE_SPINLOCK(ioasic_ssr_lock)
;
volatile u32 *ioasic_base;