HomeFreeBSD

hwpmc: remove stub pmd_switch_{in,out} methods

Description

hwpmc: remove stub pmd_switch_{in,out} methods

Most platforms (non-x86) don't require these methods and implement stub
versions. If we initialize the pmc_mdep structure to always point to the
generic versions, then we can purge the duplicate stubs.

Reviewed by: jkoshy
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39913

Details

Provenance
mhorneAuthored on May 5 2023, 9:59 PM
Reviewer
jkoshy
Differential Revision
D39913: hwpmc: remove stub pmd_switch_{in,out} methods
Parents
rG772b2dc3abc5: hwpmc: remove pmd_pcpu_{init,fini} callbacks
Branches
Unknown
Tags
Unknown