arm: spear: platsmp: fix lock definition
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 toraw_spinlock_t missed this one spot. Fix it.
Signed-off-by Felipe Balbi <[email protected]>
---
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
@@ -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
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