diff options
| author | Davidlohr Bueso <dave@stgolabs.net> | 2014-09-29 09:14:24 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-09-30 03:10:02 -0400 |
| commit | 219f800f99db6f4e43a582cb9e0d98931f13c012 (patch) | |
| tree | f40975fdddcc31e6adb615b8d9ea131232fa2de1 /kernel/locking | |
| parent | e34191fad8e5d9fe4e76f6d03b5e29e3eae7535a (diff) | |
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>
Diffstat (limited to 'kernel/locking')
| -rw-r--r-- | kernel/locking/locktorture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index 0762b25b4110..9e9cd111fb0f 100644 --- a/kernel/locking/locktorture.c +++ b/kernel/locking/locktorture.c | |||
| @@ -205,7 +205,7 @@ static struct lock_torture_ops spin_lock_ops = { | |||
| 205 | }; | 205 | }; |
| 206 | 206 | ||
| 207 | static int torture_spin_lock_write_lock_irq(void) | 207 | static int torture_spin_lock_write_lock_irq(void) |
| 208 | __acquires(torture_spinlock_irq) | 208 | __acquires(torture_spinlock) |
| 209 | { | 209 | { |
| 210 | unsigned long flags; | 210 | unsigned long flags; |
| 211 | 211 | ||
