Page MenuHomeFreeBSD

D26500.diff
No OneTemporary

D26500.diff

Index: head/sys/sys/atomic_common.h
===================================================================
--- head/sys/sys/atomic_common.h
+++ head/sys/sys/atomic_common.h
@@ -41,7 +41,7 @@
#define atomic_load_short(p) (*(volatile u_short *)(p))
#define atomic_load_int(p) (*(volatile u_int *)(p))
#define atomic_load_long(p) (*(volatile u_long *)(p))
-#define atomic_load_ptr(p) (*(volatile __typeof(p))(p))
+#define atomic_load_ptr(p) (*(volatile __typeof(*p) *)(p))
#define atomic_load_8(p) (*(volatile uint8_t *)(p))
#define atomic_load_16(p) (*(volatile uint16_t *)(p))
#define atomic_load_32(p) (*(volatile uint32_t *)(p))

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 15, 12:32 PM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15810613
Default Alt Text
D26500.diff (633 B)

Event Timeline