Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2015 21:39:19 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278476 - head/sys/sys
Message-ID:  <201502092139.t19LdJFm034574@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Feb  9 21:39:18 2015
New Revision: 278476
URL: https://svnweb.freebsd.org/changeset/base/278476

Log:
  Use __builtin_popcountl() instead of __builtin_popcount().
  
  Submitted by:	jkim

Modified:
  head/sys/sys/bitset.h

Modified: head/sys/sys/bitset.h
==============================================================================
--- head/sys/sys/bitset.h	Mon Feb  9 21:15:52 2015	(r278475)
+++ head/sys/sys/bitset.h	Mon Feb  9 21:39:18 2015	(r278476)
@@ -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;							\
 })
 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502092139.t19LdJFm034574>