HomeFreeBSD

Move declarations of invpcid_works and pmap_pcid_enabled to pmap.h.

Description

Move declarations of invpcid_works and pmap_pcid_enabled to pmap.h.

Previously these were only declared under #ifdef SMP in <machine/smp.h>.
However, these variables are defind in pmap.c unconditionally, and efirt.c
references them unconditionally. This fixes non-SMP kernel builds.

Discussed with: kib
MFC after: 1 week

Details

Provenance
jhbAuthored on
Parents
rS308141: MFC r307785:
Branches
Unknown
Tags
Unknown