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)
Wed, Nov 6, 1:08 PM
Unknown Object (File)
Wed, Nov 6, 1:08 PM
Unknown Object (File)
Wed, Nov 6, 1:07 PM
Unknown Object (File)
Tue, Nov 5, 12:11 AM
Unknown Object (File)
Oct 30 2024, 12:24 AM
Unknown Object (File)
Oct 29 2024, 10:38 PM
Unknown Object (File)
Oct 29 2024, 2:16 PM
Unknown Object (File)
Oct 29 2024, 9:23 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