diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-12-02 14:01:25 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-12-14 17:55:32 -0500 |
commit | 0199c4e68d1f02894bdefe4b5d9e9ee4aedd8d62 (patch) | |
tree | e371d17bd73d64332349debbf45962ec67e7269d /kernel/spinlock.c | |
parent | edc35bd72e2079b25f99c5da7d7a65dbbffc4a26 (diff) |
locking: Convert __raw_spin* functions to arch_spin*
Name space cleanup. No functional change.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: linux-arch@vger.kernel.org
Diffstat (limited to 'kernel/spinlock.c')
-rw-r--r-- | kernel/spinlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/spinlock.c b/kernel/spinlock.c index e6e136318437..fbb5f8b78357 100644 --- a/kernel/spinlock.c +++ b/kernel/spinlock.c | |||
@@ -53,7 +53,7 @@ void __lockfunc __##op##_lock(locktype##_t *lock) \ | |||
53 | if (!(lock)->break_lock) \ | 53 | if (!(lock)->break_lock) \ |
54 | (lock)->break_lock = 1; \ | 54 | (lock)->break_lock = 1; \ |
55 | while (!op##_can_lock(lock) && (lock)->break_lock) \ | 55 | while (!op##_can_lock(lock) && (lock)->break_lock) \ |
56 | _raw_##op##_relax(&lock->raw_lock); \ | 56 | arch_##op##_relax(&lock->raw_lock); \ |
57 | } \ | 57 | } \ |
58 | (lock)->break_lock = 0; \ | 58 | (lock)->break_lock = 0; \ |
59 | } \ | 59 | } \ |
@@ -73,7 +73,7 @@ unsigned long __lockfunc __##op##_lock_irqsave(locktype##_t *lock) \ | |||
73 | if (!(lock)->break_lock) \ | 73 | if (!(lock)->break_lock) \ |
74 | (lock)->break_lock = 1; \ | 74 | (lock)->break_lock = 1; \ |
75 | while (!op##_can_lock(lock) && (lock)->break_lock) \ | 75 | while (!op##_can_lock(lock) && (lock)->break_lock) \ |
76 | _raw_##op##_relax(&lock->raw_lock); \ | 76 | arch_##op##_relax(&lock->raw_lock); \ |
77 | } \ | 77 | } \ |
78 | (lock)->break_lock = 0; \ | 78 | (lock)->break_lock = 0; \ |
79 | return flags; \ | 79 | return flags; \ |