Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2017 10:08:09 -0500
From:      Alan Cox <alc@rice.edu>
To:        Hans Petter Selasky <hps@selasky.org>, Alan Cox <alc@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r319905 - in head/sys: kern sys
Message-ID:  <d7318b86-c168-1bbb-d795-071abef07926@rice.edu>
In-Reply-To: <39f386ba-2200-89ac-786b-6baf6c58c637@selasky.org>
References:  <201706131749.v5DHnnVm006485@repo.freebsd.org> <39f386ba-2200-89ac-786b-6baf6c58c637@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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?=20

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7318b86-c168-1bbb-d795-071abef07926>