Date: Thu, 11 Jun 2015 06:57:51 -0600 From: Ian Lepore <ian@freebsd.org> To: Erich Dollansky <erichsfreebsdlist@alogt.com> Cc: Hans Petter Selasky <hps@selasky.org>, "freebsd-hackers@freebsd.org" <freebsd-hackers@FreeBSD.org> Subject: Re: allow ffs & co. a binary search Message-ID: <1434027471.1200.401.camel@freebsd.org> In-Reply-To: <20150611152107.61f85189@B85M-HD3-0.alogt.com> References: <20150607081315.7c0f09fb@B85M-HD3-0.alogt.com> <5573EA5E.40806@selasky.org> <20150611152107.61f85189@B85M-HD3-0.alogt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2015-06-11 at 15:21 +0800, Erich Dollansky wrote:
> Hi Hans,
>
> On Sun, 07 Jun 2015 08:53:18 +0200
> Hans Petter Selasky <hps@selasky.org> wrote:
>
> > On 06/07/15 02:13, Erich Dollansky wrote:
> > >
> > > /*
> > > * Find First Set bit
> > > */
> > > int
> > > ffs(int mask)
> > > {
>
> as I would replace all except of what I have left above, I think that
> the copyright notice also should be changed. Whom should I place in
> there? I think using my name for a simple thing like this is a bit
> overdone.
>
Is there any reason that this whole change, userland and kernel, isn't
just:
#define ffs(n) __builtin_ffs(n)
?
-- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1434027471.1200.401.camel>
