Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42941
b: refs/heads/master
c: 012d3ca
h: refs/heads/master
i:
  42939: 7efd69c
v: v3
  • Loading branch information
Josh Triplett authored and Linus Torvalds committed Dec 7, 2006
1 parent 6d9dd96 commit 60127a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a09c17a6fdad9ae5b5ea1c3383080f84ec76ab20
refs/heads/master: 012d3ca8d85bf3ae5278ba897dd1ca3999247107
4 changes: 2 additions & 2 deletions trunk/kernel/rcutorture.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static void srcu_torture_cleanup(void)
cleanup_srcu_struct(&srcu_ctl);
}

static int srcu_torture_read_lock(void)
static int srcu_torture_read_lock(void) __acquires(&srcu_ctl)
{
return srcu_read_lock(&srcu_ctl);
}
Expand All @@ -419,7 +419,7 @@ static void srcu_read_delay(struct rcu_random_state *rrsp)
schedule_timeout_interruptible(longdelay);
}

static void srcu_torture_read_unlock(int idx)
static void srcu_torture_read_unlock(int idx) __releases(&srcu_ctl)
{
srcu_read_unlock(&srcu_ctl, idx);
}
Expand Down

0 comments on commit 60127a8

Please sign in to comment.