Commit 39e7ac1b authored by Fabian Frederick's avatar Fabian Frederick Committed by Scott Wood

soc/fsl/qman: test: use DEFINE_SPINLOCK()

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent ec5a0171
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment