summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2019-02-23 08:03:24 +0000
committerkamil <kamil@NetBSD.org>2019-02-23 08:03:24 +0000
commit8df99d236f6b7922d7e95a23cacec253a3cd0ec3 (patch)
tree76c54d2c58a9f90f0a05d22eb4f02a305c157611 /sys/dev
parentee995b15ee9aaae47cc7509f6a437fe8854864ad (diff)
Fix build of kcov tests on CPUs without 64-bit atomics
Restrict the 64-bit atomics to ports defining __HAVE_ATOMIC64_OPS. Using 64-bit atomics is still good for i586 fuzzing, but the tests are build for earlier CPUs. This makes this code to be disabled in i386 builds. There is a similar situation with few other ports that offer 64-bit atomics in certain CPU models and ABIs.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions