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...

Conrad Meyer cem at freebsd.org
Sun Jun 23 00:16:20 UTC 2019


Hi Xin Li,

On Mon, Jun 17, 2019 at 12:49 PM Xin LI <delphij at 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
> ==============================================================================
> --- 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' — kib@ requested the
use of a different preprocessor macro.)

Cheers,
Conrad


More information about the svn-src-head mailing list