mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
soc/fsl/qman: test: use DEFINE_SPINLOCK()
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Scott Wood <oss@buserror.net>
This commit is contained in:
parent
ec5a0171c7
commit
39e7ac1bcf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue