backports: fix indenting
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 21 Feb 2014 18:00:02 +0000 (19:00 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 Feb 2014 23:05:39 +0000 (00:05 +0100)
Replace spaces with tabs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/compat/compat_atomic.c

index b8565aa5b2bc4cb4d871afe6ab415628714a1453..f91ae757f42f639a72266713414cf6ccb7b2fc92 100644 (file)
@@ -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);