projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/soc/fsl/qbman/qman_test_stash.c
b/drivers/soc/fsl/qbman/qman_test_stash.c
index b9795f39bcc8603cab8f81000b91907954c92b6f..e87b65403b6721b8bc64157feb56a369ac45f506 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;