* [PATCH] arm: spear: platsmp: fix lock definition
@ 2013-08-01 13:54 Felipe Balbi
2013-08-12 10:04 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 2+ messages in thread
From: Felipe Balbi @ 2013-08-01 13:54 UTC (permalink / raw)
To: Thomas Gleixner
Cc: Linux Kernel Mailing List, linux-rt-users,
Sebastian Andrzej Siewior, Felipe Balbi
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.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
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(-)
diff --git a/arch/arm/mach-spear/platsmp.c b/arch/arm/mach-spear/platsmp.c
index 382eef6..ec5437d 100644
--- a/arch/arm/mach-spear/platsmp.c
+++ b/arch/arm/mach-spear/platsmp.c
@@ -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);
--
1.8.3.4.840.g6a90778
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm: spear: platsmp: fix lock definition
2013-08-01 13:54 [PATCH] arm: spear: platsmp: fix lock definition Felipe Balbi
@ 2013-08-12 10:04 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2013-08-12 10:04 UTC (permalink / raw)
To: Felipe Balbi; +Cc: Thomas Gleixner, Linux Kernel Mailing List, linux-rt-users
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-12 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 13:54 [PATCH] arm: spear: platsmp: fix lock definition Felipe Balbi
2013-08-12 10:04 ` Sebastian Andrzej Siewior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).