[PATCH] API cleanup - use local_lock not __local_lock for soft

From: Nicholas Mc Guire
Date: Fri Jan 17 2014 - 14:44:10 EST



trivial API cleanup - kernel/softirq.c was mimiking local_lock.

No change of functional behavior

Signed-off-by: Nicholas Mc Guire <der.herr@xxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/