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

(cherry picked from commit fa88954fd8f16ef60084a73d446a23e791ed22e5)

Details

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