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:
a0e9bb8
)
base/dispatch.c: Fix list-macro invocation if we have `getauxval'.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000
(09:26 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 26 Jun 2016 11:14:32 +0000
(12:14 +0100)
Caused hopeless build failure on ARM versions of jessie.
base/dispatch.c
patch
|
blob
|
blame
|
history
diff --git
a/base/dispatch.c
b/base/dispatch.c
index 63649748ee5f1495c7e5024e8a844652de03968b..dfd0fbdaab7ac8c0a15df9b0bf3d2ae09cb59d62 100644
(file)
--- a/
base/dispatch.c
+++ b/
base/dispatch.c
@@
-319,8
+319,8
@@
static void probe_hwcaps(void)
/* Shiny new libc lets us request individual entry types. This is almost
* too easy.
*/
-# define CAP__GET(type,
slot, ubranch
) \
- probed.slot
.ubranch
= (AUXUTYPE_##ubranch)getauxval(type);
+# define CAP__GET(type,
ubranch, slot
) \
+ probed.slot = (AUXUTYPE_##ubranch)getauxval(type);
WANTAUX(CAP__GET)
#else
/* Otherwise we're a bit stuck, really. Modern Linux kernels make a copy