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

Alan Cox alc at rice.edu
Wed Jun 14 15:08:19 UTC 2017


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.

Alan




More information about the svn-src-head mailing list