Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 17:15:59 -0700
From:      Conrad Meyer <cem@freebsd.org>
To:        Xin LI <delphij@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r349151 - in head: lib/libufs stand/libsa sys/conf sys/dev/iscsi sys/dev/iscsi_initiator sys/dev/liquidio sys/dev/usb/net sys/fs/ext2fs sys/fs/nandfs sys/geom/part sys/geom/raid sys/ker...
Message-ID:  <CAG6CVpXCgz-fxC11RyO1oL50UEoNFa%2Bck_TUf-eOm73sd5yyTQ@mail.gmail.com>
In-Reply-To: <201906171949.x5HJn9Ed091108@repo.freebsd.org>
References:  <201906171949.x5HJn9Ed091108@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Xin Li,

On Mon, Jun 17, 2019 at 12:49 PM Xin LI <delphij@freebsd.org> wrote:
>
> Author: delphij
> Date: Mon Jun 17 19:49:08 2019
> New Revision: 349151
> URL: https://svnweb.freebsd.org/changeset/base/349151
>
> Log:
>   Separate kernel crc32() implementation to its own header (gsb_crc32.h) =
and
>   rename the source to gsb_crc32.c.
>
>   This is a prerequisite of unifying kernel zlib instances.
>
>...
> Modified: head/sys/libkern/x86/crc32_sse42.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/sys/libkern/x86/crc32_sse42.c  Mon Jun 17 17:35:55 2019        (=
r349150)
> +++ head/sys/libkern/x86/crc32_sse42.c  Mon Jun 17 19:49:08 2019        (=
r349151)
> @@ -29,14 +29,14 @@ __FBSDID("$FreeBSD$");
>  /*
>   * This file is compiled in userspace in order to run ATF unit tests.
>   */
> -#ifdef USERSPACE_TESTING
> +#ifndef _KERNEL

This change and following identical changes revert a request by kib@
in https://reviews.freebsd.org/D9342 .  (When this revision was
initially proposed in  , it was '#ifndef _KERNEL' =E2=80=94 kib@ requested =
the
use of a different preprocessor macro.)

Cheers,
Conrad



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpXCgz-fxC11RyO1oL50UEoNFa%2Bck_TUf-eOm73sd5yyTQ>