mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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:
parent
e34191fad8
commit
219f800f99
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ static struct lock_torture_ops spin_lock_ops = {
|
|||
};
|
||||
|
||||
static int torture_spin_lock_write_lock_irq(void)
|
||||
__acquires(torture_spinlock_irq)
|
||||
__acquires(torture_spinlock)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
||||
|
|
Loading…
Reference in a new issue