Page MenuHomeFreeBSD

bitset: rename confusing macro NAND to ANDNOT
ClosedPublic

Authored by rlibby on Dec 13 2019, 12:48 AM.
Tags
None
Referenced Files
F152227618: D22791.id65585.diff
Mon, Apr 13, 1:25 PM
F152134606: D22791.id65585.diff
Sun, Apr 12, 11:37 PM
Unknown Object (File)
Mon, Apr 6, 12:19 PM
Unknown Object (File)
Sun, Apr 5, 3:25 PM
Unknown Object (File)
Sun, Apr 5, 1:05 AM
Unknown Object (File)
Fri, Apr 3, 8:39 PM
Unknown Object (File)
Mar 5 2026, 8:59 PM
Unknown Object (File)
Mar 3 2026, 1:38 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