Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268923
b: refs/heads/master
c: 2737c49
h: refs/heads/master
i:
  268921: 4eb509a
  268919: 39c4d41
v: v3
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed Sep 13, 2011
1 parent 743281b commit bed2b88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ddb6c9b58a19edcfac93ac670b066c836ff729f1
refs/heads/master: 2737c49f29a29f3d3645ba0778aa7a8798f32249
6 changes: 3 additions & 3 deletions trunk/kernel/time/timer_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct entry {
/*
* Spinlock protecting the tables - not taken during lookup:
*/
static DEFINE_SPINLOCK(table_lock);
static DEFINE_RAW_SPINLOCK(table_lock);

/*
* Per-CPU lookup locks for fast hash lookup:
Expand Down Expand Up @@ -188,7 +188,7 @@ static struct entry *tstat_lookup(struct entry *entry, char *comm)
prev = NULL;
curr = *head;

spin_lock(&table_lock);
raw_spin_lock(&table_lock);
/*
* Make sure we have not raced with another CPU:
*/
Expand All @@ -215,7 +215,7 @@ static struct entry *tstat_lookup(struct entry *entry, char *comm)
*head = curr;
}
out_unlock:
spin_unlock(&table_lock);
raw_spin_unlock(&table_lock);

return curr;
}
Expand Down

0 comments on commit bed2b88

Please sign in to comment.