Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107462028
D26500.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
633 B
Referenced Files
None
Subscribers
None
D26500.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D26500: atomic_common.h: Fix the volatile qualifier placement in atomic_load_ptr
Attached
Detach File
Event Timeline
Log In to Comment