Page MenuHomeFreeBSD

bitset: rename confusing macro NAND to ANDNOT
ClosedPublic

Authored by rlibby on Dec 13 2019, 12:48 AM.
Tags
None
Referenced Files
F157898837: D22791.diff
Tue, May 26, 7:25 AM
Unknown Object (File)
Mon, May 11, 12:41 AM
Unknown Object (File)
Sat, May 9, 3:49 PM
Unknown Object (File)
Sat, May 9, 12:50 PM
Unknown Object (File)
Fri, May 8, 6:01 PM
Unknown Object (File)
Mon, Apr 27, 9:58 AM
Unknown Object (File)
Apr 14 2026, 5:52 AM
Unknown Object (File)
Apr 13 2026, 1:25 PM
Subscribers

Details

Summary

s/BIT_NAND/BIT_ANDNOT/, and for CPU and DOMAINSET too. The actual
implementation is "and not" (or "but not"), i.e. A but not B.
Fortunately this does appear to be what all existing callers want.

Don't supply a NAND (not (A and B)) operation a this time.

Test Plan

make buildkernel

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable