]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't bother to check COMPAT_32BIT when __LP64__ is defined
authorJessica Clarke <jrtc27@FreeBSD.org>
Sun, 9 Jul 2023 17:45:32 +0000 (18:45 +0100)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sun, 9 Jul 2023 17:45:32 +0000 (18:45 +0100)
commitc63c4e694cfb0a2cba46b91869f7630e2afd80ae
tree3baa60a6e82cc085dd7ec59063b05a70f936100e
parent3d96c005dd29543ad5d882bf68b2e357ad46636e
Don't bother to check COMPAT_32BIT when __LP64__ is defined

Under COMPAT_32BIT we are compiling 32-bit code and so __LP64__ is not
defined, __ILP32__ is, and thus the check is completely redundant.

Reviewed by: brooks, jhb, imp
Differential Revision: https://reviews.freebsd.org/D40917
sys/cddl/compat/opensolaris/sys/atomic.h
sys/contrib/openzfs/include/os/freebsd/spl/sys/atomic.h