From: Hauke Mehrtens Date: Fri, 21 Feb 2014 18:00:02 +0000 (+0100) Subject: backports: fix indenting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5aa7254156508b745c09d4a689d347cef1394ee0;p=openwrt%2Fstaging%2Fblogic.git backports: fix indenting Replace spaces with tabs. Signed-off-by: Hauke Mehrtens --- 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);