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
F106963244: D40917.diff
Wed, Jan 8, 4:08 AM
Unknown Object (File)
Sun, Dec 29, 9:05 AM
Unknown Object (File)
Thu, Dec 19, 3:46 PM
Unknown Object (File)
Dec 4 2024, 7:44 AM
Unknown Object (File)
Nov 6 2024, 1:08 PM
Unknown Object (File)
Nov 6 2024, 1:08 PM
Unknown Object (File)
Nov 6 2024, 1:07 PM
Unknown Object (File)
Nov 5 2024, 12:11 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 Passed
Unit
No Test Coverage
Build Status
Buildable 52491
Build 49382: arc lint + arc unit

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