diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:35 -0500 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:53 -0500 |
| commit | 2290c0d06d82faee87b1ab2d9d4f7bf81ef64379 (patch) | |
| tree | e075e4d5534193f28e6059904f61e5ca03958d3c /kernel/time/timer_stats.c | |
| parent | 4da669a2e3e5bc70b30a0465f3641528681b5f77 (diff) | |
| parent | 52e4c2a05256cb83cda12f3c2137ab1533344edb (diff) | |
Merge branch 'master' into for-next
Sync with Linus tree to have 157550ff ("mtd: add GPMI-NAND driver
in the config and Makefile") as I have patch depending on that one.
Diffstat (limited to 'kernel/time/timer_stats.c')
| -rw-r--r-- | kernel/time/timer_stats.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/time/timer_stats.c b/kernel/time/timer_stats.c index a5d0a3a85dd8..0b537f27b559 100644 --- a/kernel/time/timer_stats.c +++ b/kernel/time/timer_stats.c | |||
| @@ -81,7 +81,7 @@ struct entry { | |||
| 81 | /* | 81 | /* |
| 82 | * Spinlock protecting the tables - not taken during lookup: | 82 | * Spinlock protecting the tables - not taken during lookup: |
| 83 | */ | 83 | */ |
| 84 | static DEFINE_SPINLOCK(table_lock); | 84 | static DEFINE_RAW_SPINLOCK(table_lock); |
| 85 | 85 | ||
| 86 | /* | 86 | /* |
| 87 | * Per-CPU lookup locks for fast hash lookup: | 87 | * Per-CPU lookup locks for fast hash lookup: |
| @@ -188,7 +188,7 @@ static struct entry *tstat_lookup(struct entry *entry, char *comm) | |||
| 188 | prev = NULL; | 188 | prev = NULL; |
| 189 | curr = *head; | 189 | curr = *head; |
| 190 | 190 | ||
| 191 | spin_lock(&table_lock); | 191 | raw_spin_lock(&table_lock); |
| 192 | /* | 192 | /* |
| 193 | * Make sure we have not raced with another CPU: | 193 | * Make sure we have not raced with another CPU: |
| 194 | */ | 194 | */ |
| @@ -215,7 +215,7 @@ static struct entry *tstat_lookup(struct entry *entry, char *comm) | |||
| 215 | *head = curr; | 215 | *head = curr; |
| 216 | } | 216 | } |
| 217 | out_unlock: | 217 | out_unlock: |
| 218 | spin_unlock(&table_lock); | 218 | raw_spin_unlock(&table_lock); |
| 219 | 219 | ||
| 220 | return curr; | 220 | return curr; |
| 221 | } | 221 | } |
