Page MenuHomeFreeBSD

libprocstat: Drop all _KERNEL defines outside of zfs_defs.c
ClosedPublic

Authored by jrtc27 on Fri, Jun 6, 2:14 PM.
Tags
None
Referenced Files
F122385926: D50719.diff
Fri, Jul 4, 9:31 PM
F122298577: D50719.id157138.diff
Fri, Jul 4, 4:10 AM
Unknown Object (File)
Wed, Jul 2, 2:57 PM
Unknown Object (File)
Tue, Jul 1, 8:25 AM
Unknown Object (File)
Mon, Jun 30, 5:56 PM
Unknown Object (File)
Sun, Jun 29, 4:17 AM
Unknown Object (File)
Fri, Jun 27, 10:34 PM
Unknown Object (File)
Fri, Jun 27, 8:39 PM
Subscribers
None

Details

Summary

Defining _KERNEL is a historical hack that can often break due to the
environment not actually being that of a kernel build. Now that we have
other targeted macros we can define instead that don't have far-reaching
implications like _KERNEL we can drop this.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable