From bed2b88dec2358953f8e79995dac672f6d774a3b Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Wed, 16 Jun 2010 16:58:34 +0200 Subject: [PATCH] --- yaml --- r: 268923 b: refs/heads/master c: 2737c49f29a29f3d3645ba0778aa7a8798f32249 h: refs/heads/master i: 268921: 4eb509aa51858ddc6c254ed9d8e5ba04ea9c0f22 268919: 39c4d41bcf5801d3300668913c9d9e448120ea86 v: v3 --- [refs] | 2 +- trunk/kernel/time/timer_stats.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 7e27f7c0a6c7..09e1b4ac0959 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ddb6c9b58a19edcfac93ac670b066c836ff729f1 +refs/heads/master: 2737c49f29a29f3d3645ba0778aa7a8798f32249 diff --git a/trunk/kernel/time/timer_stats.c b/trunk/kernel/time/timer_stats.c index a5d0a3a85dd8..0b537f27b559 100644 --- a/trunk/kernel/time/timer_stats.c +++ b/trunk/kernel/time/timer_stats.c @@ -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: @@ -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: */ @@ -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; }