svn commit: r319905 - in head/sys: kern sys

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Wed Jun 14 15:52:16 UTC 2017


[ Charset UTF-8 unsupported, converting... ]
> On 06/14/2017 06:04, Hans Petter Selasky wrote:
> > On 06/13/17 19:49, Alan Cox wrote:
> >> +#define    bitcount64(x)    __bitcount64((uint64_t)(x))
> >
> > bitcount64() is already defined by sys/libkern.h - use that? 
> 
> This snippet appears in code that is only used when compiling this file
> as a user-space application for testing.  Attempting to use
> sys/libkern.h in the user-space compilation provoked warnings.

Could we please add a comment to this define indicating this?

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-all mailing list