Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167355469
D27897.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
560 B
Referenced Files
None
Subscribers
None
D27897.diff
View Options
diff --git a/sys/arm/include/atomic-v6.h b/sys/arm/include/atomic-v6.h
--- a/sys/arm/include/atomic-v6.h
+++ b/sys/arm/include/atomic-v6.h
@@ -913,9 +913,8 @@
* Assume little-endian,
* atomic_testandclear_32() uses only last 5 bits of v
*/
- if (v >= 32) {
+ if ((v & 0x20) != 0)
p32++;
- }
return (atomic_testandclear_32(p32, v));
}
@@ -973,9 +972,8 @@
* Assume little-endian,
* atomic_testandset_32() uses only last 5 bits of v
*/
- if (v >= 32) {
+ if ((v & 0x20) != 0)
p32++;
- }
return (atomic_testandset_32(p32, v));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 22, 6:05 AM (3 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37066946
Default Alt Text
D27897.diff (560 B)
Attached To
Mode
D27897: arm: fix atomic_testand{set,clear}_64 for ops on high bits
Attached
Detach File
Event Timeline
Log In to Comment