locktorture: Fix __acquire annotation for spinlock irq
Its quite easy to get mixed up with the names -- 'torture_spinlock_irq' is not actually a valid spinlock name. Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
Родитель
e34191fad8
Коммит
219f800f99
|
@ -205,7 +205,7 @@ static struct lock_torture_ops spin_lock_ops = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static int torture_spin_lock_write_lock_irq(void)
|
static int torture_spin_lock_write_lock_irq(void)
|
||||||
__acquires(torture_spinlock_irq)
|
__acquires(torture_spinlock)
|
||||||
{
|
{
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче