LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] NULL noise: frv cmpxchg()
@ 2008-03-29 3:08 Al Viro
2008-03-29 18:47 ` Harvey Harrison
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2008-03-29 3:08 UTC (permalink / raw)
To: torvalds; +Cc: dhowells, linux-kernel
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
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; \
} \
--
1.5.3.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] NULL noise: frv cmpxchg()
2008-03-29 3:08 [PATCH] NULL noise: frv cmpxchg() Al Viro
@ 2008-03-29 18:47 ` Harvey Harrison
0 siblings, 0 replies; 2+ messages in thread
From: Harvey Harrison @ 2008-03-29 18:47 UTC (permalink / raw)
To: Al Viro; +Cc: torvalds, dhowells, linux-kernel, Andrew Morton
On Sat, 2008-03-29 at 03:08 +0000, Al Viro wrote:
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ---
> include/asm-frv/system.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Not in -mm, please apply.
Harvey
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-29 18:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-29 3:08 [PATCH] NULL noise: frv cmpxchg() Al Viro
2008-03-29 18:47 ` Harvey Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).