[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140117194403.GC20157@opentech.at>
Date: Fri, 17 Jan 2014 20:44:03 +0100
From: Nicholas Mc Guire <der.herr@...r.at>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
linux-rt-users@...r.kernel.org,
Sami Pietikainen <Sami.Pietikainen@...ice.com>,
Jouko Haapaluoma <jouko.haapaluoma@...ice.com>,
LKML <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH] API cleanup - use local_lock not __local_lock for soft
trivial API cleanup - kernel/softirq.c was mimiking local_lock.
No change of functional behavior
Signed-off-by: Nicholas Mc Guire <der.herr@...r.at>
---
kernel/softirq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 2da729b..15ad603 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -505,12 +505,12 @@ void __init softirq_early_init(void)
static void lock_softirq(int which)
{
- __local_lock(&__get_cpu_var(local_softirq_locks[which]));
+ local_lock(local_softirq_locks[which]);
}
static void unlock_softirq(int which)
{
- __local_unlock(&__get_cpu_var(local_softirq_locks[which]));
+ local_unlock(local_softirq_locks[which]);
}
static void do_single_softirq(int which, int need_rcu_bh_qs)
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists