Page MenuHomeFreeBSD

Don't bother to check COMPAT_32BIT when __LP64__ is defined
ClosedPublic

Authored by jrtc27 on Jul 7 2023, 11:57 PM.
Tags
None
Referenced Files
F149250679: D40917.id124386.diff
Mon, Mar 23, 7:14 AM
Unknown Object (File)
Sun, Mar 22, 3:15 AM
Unknown Object (File)
Sun, Mar 15, 7:47 AM
Unknown Object (File)
Thu, Mar 5, 3:44 PM
Unknown Object (File)
Feb 20 2026, 3:45 AM
Unknown Object (File)
Feb 7 2026, 8:15 PM
Unknown Object (File)
Nov 25 2025, 5:50 AM
Unknown Object (File)
Nov 20 2025, 2:59 AM
Subscribers

Details

Summary

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

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jul 8 2023, 12:13 AM

Probably should upstream this

Probably should upstream this

Yeah, I was planning to