diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-14 23:25:14 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2006-03-14 23:25:14 +0000 |
commit | 4201918426b37be6cebfd67e54f020bfb45422fb (patch) | |
tree | 52ccebd75b025b4b4288dcc71f8fd332ca86ebbe /pfinet/glue-include | |
parent | fc02160569ca3a5172ab97896b5369d58c782d68 (diff) |
2006-03-15 Thomas Schwinge <tschwinge@gnu.org>
* glue-include/asm/system.h (xchg): Fix invalid lvalue.
* linux-src/net/ipv4/tcp_ipv4.c (tcp_v4_rst_req): Don't use ?: as a
lvalue.
Diffstat (limited to 'pfinet/glue-include')
-rw-r--r-- | pfinet/glue-include/asm/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/glue-include/asm/system.h b/pfinet/glue-include/asm/system.h index 1a5d61cd..30339b62 100644 --- a/pfinet/glue-include/asm/system.h +++ b/pfinet/glue-include/asm/system.h @@ -9,7 +9,7 @@ #define xchg(ptr, x) \ ({ \ __typeof__ (*(ptr)) *_ptr = (ptr), _x = *_ptr; \ - (uintptr_t) *_ptr = (x); _x; \ + *_ptr = (x); _x; \ }) #define mb() ((void) 0) /* memory barrier */ |