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
Unknown Object (File)
Apr 26 2024, 9:18 AM
Unknown Object (File)
Apr 26 2024, 9:18 AM
Unknown Object (File)
Apr 26 2024, 9:18 AM
Unknown Object (File)
Apr 26 2024, 2:16 AM
Unknown Object (File)
Mar 6 2024, 8:57 PM
Unknown Object (File)
Mar 6 2024, 8:57 PM
Unknown Object (File)
Mar 6 2024, 8:57 PM
Unknown Object (File)
Mar 5 2024, 7:55 PM
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