Page MenuHomeFreeBSD

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

Authored by skra on Feb 21 2016, 10:33 AM.
Tags
None
Referenced Files
F171814031: D5373.id13560.diff
Sun, Sep 13, 6:06 PM
F171813835: D5373.id13600.diff
Sun, Sep 13, 6:03 PM
F171813783: D5373.id13600.diff
Sun, Sep 13, 6:03 PM
F171810960: D5373.diff
Sun, Sep 13, 5:30 PM
Unknown Object (File)
Tue, Sep 1, 9:55 PM
Unknown Object (File)
Tue, Sep 1, 9:32 PM
Unknown Object (File)
Aug 14 2026, 3:57 PM
Unknown Object (File)
Aug 14 2026, 3:53 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 Skipped
Unit
Tests Skipped

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.