chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e7123
)
base/dispatch.c: Check atomic copy of the probes flags, not the original.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 6 May 2023 23:58:39 +0000
(
00:58
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 6 May 2023 23:58:39 +0000
(
00:58
+0100)
Rather defeats the point otherwise.
base/dispatch.c
patch
|
blob
|
blame
|
history
diff --git
a/base/dispatch.c
b/base/dispatch.c
index 309be5c3969b63c8ae83a92a06a74d14f8a92fe8..4ce60159e6f7abe0f59b232a68ae6ef921b7fe9c 100644
(file)
--- a/
base/dispatch.c
+++ b/
base/dispatch.c
@@
-413,7
+413,7
@@
static unsigned get_hwcaps(void)
unsigned hw;
DISPATCH_LOAD(hwcaps, hw);
- if (!(hw
caps
& HF_PROBED)) { probe_hwcaps(); DISPATCH_LOAD(hwcaps, hw); }
+ if (!(hw & HF_PROBED)) { probe_hwcaps(); DISPATCH_LOAD(hwcaps, hw); }
return (hw);
}