Browse Source

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>
Davidlohr Bueso 11 năm trước cách đây
mục cha
commit
219f800f99
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      kernel/locking/locktorture.c

+ 1 - 1
kernel/locking/locktorture.c

@@ -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;