summaryrefslogtreecommitdiff
path: root/arch/parisc/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-09-05 10:06:08 -0700
committerTony Lindgren <tony@atomide.com>2012-09-05 10:06:08 -0700
commit580a7ce8fb5012c0c0afe592bdafd482a3679911 (patch)
tree3fb6b00359a63d8d2e33005599046c105956d314 /arch/parisc/include
parenta17fb8f520c3c662686aa54a86773f354002c7d3 (diff)
parente534e871a94ba2e3bfdf0edd3685eb805fc960d8 (diff)
downloadlwn-580a7ce8fb5012c0c0afe592bdafd482a3679911.tar.gz
lwn-580a7ce8fb5012c0c0afe592bdafd482a3679911.zip
Merge branch 'fixes-wakeupgen' into fixes
Diffstat (limited to 'arch/parisc/include')
-rw-r--r--arch/parisc/include/asm/atomic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/atomic.h b/arch/parisc/include/asm/atomic.h
index 6c6defc24619..af9cf30ed474 100644
--- a/arch/parisc/include/asm/atomic.h
+++ b/arch/parisc/include/asm/atomic.h
@@ -141,7 +141,7 @@ static __inline__ int __atomic_add_unless(atomic_t *v, int a, int u)
#define atomic_sub_and_test(i,v) (atomic_sub_return((i),(v)) == 0)
-#define ATOMIC_INIT(i) ((atomic_t) { (i) })
+#define ATOMIC_INIT(i) { (i) }
#define smp_mb__before_atomic_dec() smp_mb()
#define smp_mb__after_atomic_dec() smp_mb()
@@ -150,7 +150,7 @@ static __inline__ int __atomic_add_unless(atomic_t *v, int a, int u)
#ifdef CONFIG_64BIT
-#define ATOMIC64_INIT(i) ((atomic64_t) { (i) })
+#define ATOMIC64_INIT(i) { (i) }
static __inline__ s64
__atomic64_add_return(s64 i, atomic64_t *v)