diff options
author | jhb <jhb@FreeBSD.org> | 2015-02-09 21:39:18 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-02-09 21:39:18 +0000 |
commit | 2a9a4a1a1eddc1fe5285e314181ef23ef1cac225 (patch) | |
tree | 80d44682e3db64596563cd5f96649ec2989dcd78 /sys/sys/bitset.h | |
parent | 4b289345179ad6b092782584eeee452563f8e709 (diff) | |
download | FreeBSD-src-2a9a4a1a1eddc1fe5285e314181ef23ef1cac225.zip FreeBSD-src-2a9a4a1a1eddc1fe5285e314181ef23ef1cac225.tar.gz |
Use __builtin_popcountl() instead of __builtin_popcount().
Submitted by: jkim
Diffstat (limited to 'sys/sys/bitset.h')
-rw-r--r-- | sys/sys/bitset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/bitset.h b/sys/sys/bitset.h index 9871c24..5ad28d3 100644 --- a/sys/sys/bitset.h +++ b/sys/sys/bitset.h @@ -182,7 +182,7 @@ \ __count = 0; \ for (__i = 0; __i < __bitset_words((_s)); __i++) \ - __count += __builtin_popcount((p)->__bits[__i]); \ + __count += __builtin_popcountl((p)->__bits[__i]); \ __count; \ }) |