Page MenuHomeFreeBSD

Merge the md_page structs for AIM and Book-E into a single unioned struct
ClosedPublic

Authored by jhibbits on Jul 11 2018, 10:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 21, 12:15 AM
Unknown Object (File)
Fri, Nov 21, 12:11 AM
Unknown Object (File)
Fri, Nov 21, 12:10 AM
Unknown Object (File)
Fri, Nov 21, 12:06 AM
Unknown Object (File)
Thu, Nov 20, 7:05 AM
Unknown Object (File)
Tue, Nov 18, 4:01 PM
Unknown Object (File)
Sun, Nov 16, 10:43 PM
Unknown Object (File)
Sun, Nov 16, 10:43 PM
Subscribers

Details

Summary

Ports like sysutils/lsof troll through kernel structures, and
therefore include kernel headers and all the dirty secrets involved. struct
vm_page includes the struct md_page inline, which currently is only defined
if AIM or BOOKE is defined. Thus, by default, sysutils/lsof cannot build,
due to the struct md_page having an incomplete type. Fix this by merging
the two struct definitions into an anonymous struct-union.

Compile-tested only.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17992
Build 17745: arc lint + arc unit