hwpmc: remove dangling references to hwpmc_xscale

Reported by:	mjg
This commit is contained in:
Matt Macy 2018-06-08 20:39:49 +00:00
parent 4d20e87b7e
commit 4f63fbc955
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334857

View File

@ -58,10 +58,6 @@ __FBSDID("$FreeBSD$");
struct pmc_mdep *
pmc_md_initialize()
{
#ifdef CPU_XSCALE_IXP425
if (cpu_class == CPU_CLASS_XSCALE)
return pmc_xscale_initialize();
#endif
#ifdef CPU_CORTEXA
if (cpu_class == CPU_CLASS_CORTEXA)
return pmc_armv7_initialize();
@ -72,13 +68,6 @@ pmc_md_initialize()
void
pmc_md_finalize(struct pmc_mdep *md)
{
#ifdef CPU_XSCALE_IXP425
if (cpu_class == CPU_CLASS_XSCALE)
pmc_xscale_finalize(md);
else
KASSERT(0, ("[arm,%d] Unknown CPU Class 0x%x", __LINE__,
cpu_class));
#endif
#ifdef CPU_CORTEXA
if (cpu_class == CPU_CLASS_CORTEXA)
pmc_armv7_finalize(md);