Просмотр исходного кода

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 лет назад
Родитель
Сommit
219f800f99
1 измененных файлов с 1 добавлено и 1 удалено
  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;