projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec5a017
)
soc/fsl/qman: test: use DEFINE_SPINLOCK()
author
Fabian Frederick
<fabf@skynet.be>
Sun, 4 Dec 2016 12:44:59 +0000
(13:44 +0100)
committer
Scott Wood
<oss@buserror.net>
Sat, 10 Dec 2016 05:08:52 +0000
(23:08 -0600)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Scott Wood <oss@buserror.net>
drivers/soc/fsl/qbman/qman_test_stash.c
patch
|
blob
|
history
diff --git
a/drivers/soc/fsl/qbman/qman_test_stash.c
b/drivers/soc/fsl/qbman/qman_test_stash.c
index
b9795f3
..
e87b654
100644
(file)
--- a/
drivers/soc/fsl/qbman/qman_test_stash.c
+++ b/
drivers/soc/fsl/qbman/qman_test_stash.c
@@
-175,7
+175,7
@@
static DEFINE_PER_CPU(struct hp_cpu, hp_cpus);
/* links together the hp_cpu structs, in first-come first-serve order. */
static LIST_HEAD(hp_cpu_list);
-static
spinlock_t hp_lock = __SPIN_LOCK_UNLOCKED
(hp_lock);
+static
DEFINE_SPINLOCK
(hp_lock);
static unsigned int hp_cpu_list_length;