Page MenuHomeFreeBSD

Remove redundant <machine/pmap.h> include.
ClosedPublic

Authored by skra on Feb 21 2016, 10:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 7:01 AM
Unknown Object (File)
Tue, Oct 14, 8:45 PM
Unknown Object (File)
Sep 17 2025, 2:01 PM
Unknown Object (File)
Aug 22 2025, 4:34 PM
Unknown Object (File)
Jul 23 2025, 10:49 AM
Unknown Object (File)
Jul 7 2025, 5:54 AM
Unknown Object (File)
Jun 29 2025, 9:57 PM
Unknown Object (File)
Jun 28 2025, 10:42 PM

Details

Summary

<machine/pmap> is included from <vm/pmap.h> so there is no need to include it explicitly when <vm/pmap.h> is already included.

Note that there are still files where <machine/pmap> is included solo.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

skra retitled this revision from to Remove redundant <machine/pmap.h> include..
skra updated this object.
skra edited the test plan for this revision. (Show Details)
skra added reviewers: alc, kib.
skra set the repository for this revision to rS FreeBSD src repository - subversion.
kib edited edge metadata.
This revision is now accepted and ready to land.Feb 21 2016, 11:57 AM
alc edited edge metadata.

You might also check for cases where both <vm/vm_param.h> and <machine/vmparam.h> are included. This isn't nearly as common, but I have seen it.

This revision was automatically updated to reflect the committed changes.