From 5aa7254156508b745c09d4a689d347cef1394ee0 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 21 Feb 2014 19:00:02 +0100 Subject: [PATCH] backports: fix indenting Replace spaces with tabs. Signed-off-by: Hauke Mehrtens --- backport/compat/compat_atomic.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/backport/compat/compat_atomic.c b/backport/compat/compat_atomic.c index b8565aa5b2bc..f91ae757f42f 100644 --- a/backport/compat/compat_atomic.c +++ b/backport/compat/compat_atomic.c @@ -7,25 +7,25 @@ static DEFINE_SPINLOCK(lock); long long atomic64_read(const atomic64_t *v) { - unsigned long flags; - long long val; + unsigned long flags; + long long val; - spin_lock_irqsave(&lock, flags); - val = v->counter; - spin_unlock_irqrestore(&lock, flags); - return val; + spin_lock_irqsave(&lock, flags); + val = v->counter; + spin_unlock_irqrestore(&lock, flags); + return val; } EXPORT_SYMBOL_GPL(atomic64_read); long long atomic64_add_return(long long a, atomic64_t *v) { - unsigned long flags; - long long val; + unsigned long flags; + long long val; - spin_lock_irqsave(&lock, flags); - val = v->counter += a; - spin_unlock_irqrestore(&lock, flags); - return val; + spin_lock_irqsave(&lock, flags); + val = v->counter += a; + spin_unlock_irqrestore(&lock, flags); + return val; } EXPORT_SYMBOL_GPL(atomic64_add_return); -- 2.30.2