[prev in list] [next in list] [prev in thread] [next in thread]
List: git-commits-head
Subject: NULL noise: frv cmpxchg()
From: Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date: 2008-03-30 23:00:07
Message-ID: 200803302300.m2UN07Eq013833 () hera ! kernel ! org
[Download RAW message or body]
Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7c43f2b888f9ca1fcb7b07abc4cbff4ca1b8e03b
Commit: 7c43f2b888f9ca1fcb7b07abc4cbff4ca1b8e03b
Parent: 91e916cffec7c0153c5cbaa447151862a7a9a047
Author: Al Viro <viro@ftp.linux.org.uk>
AuthorDate: Sat Mar 29 03:08:18 2008 +0000
Committer: Linus Torvalds <torvalds@linux-foundation.org>
CommitDate: Sun Mar 30 14:20:23 2008 -0700
NULL noise: frv cmpxchg()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
---
include/asm-frv/system.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/asm-frv/system.h b/include/asm-frv/system.h
index b400cea..2c57f47 100644
--- a/include/asm-frv/system.h
+++ b/include/asm-frv/system.h
@@ -234,7 +234,7 @@ extern void free_initmem(void);
break; \
\
default: \
- __xg_orig = 0; \
+ __xg_orig = (__typeof__(__xg_orig))0; \
asm volatile("break"); \
break; \
} \
@@ -259,7 +259,7 @@ extern uint32_t __cmpxchg_32(uint32_t *v, uint32_t test, uint32_t new);
(__force uint32_t)__xg_test, \
(__force uint32_t)__xg_new); break; \
default: \
- __xg_orig = 0; \
+ __xg_orig = (__typeof__(__xg_orig))0; \
asm volatile("break"); \
break; \
} \
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic