Skip to contentSkip to conversation

arm: spear: platsmp: fix lock definition

PATCH In review Felipe Balbi 2 participants 2 messages Aug 1, 2013 – Aug 12, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: spear: platsmp: fix lock definition

raw_spin_{lock,unlock}() functions, we must
pass a raw_spinlock_t as argument.

Previous patch converting ARM boot_lock to
raw_spinlock_t missed this one spot. Fix it.

---

compile tested only, I don't have any spear boards.

But at least solves the argument error compile warnings.

 arch/arm/mach-spear/platsmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-spear/platsmp.c +1 -1
index 382eef6..ec5437d 100644
@@ -20,7 +20,7 @@
 #include <mach/spear.h>
 #include "generic.h"
 
-static DEFINE_SPINLOCK(boot_lock);
+static DEFINE_RAW_SPINLOCK(boot_lock);
 
 static void __iomem *scu_base = IOMEM(VA_SCU_BASE);
 
Signature · 1 line
1.8.3.4.840.g6a90778
#1 lore raw
Quoted 4 lines · * Felipe Balbi | 2013-08-01 16:54:24 [+0300]:

compile tested only, I don't have any spear boards.

But at least solves the argument error compile warnings.

looks very correct :) Applied and folded back into the original patch.

Sebastian