svn commit: r235229 - head/sys/dev/hwpmc
Fabien Thomas
fabient at FreeBSD.org
Thu May 10 14:27:50 UTC 2012
Author: fabient
Date: Thu May 10 14:27:49 2012
New Revision: 235229
URL: http://svn.freebsd.org/changeset/base/235229
Log:
Remove out of date KASSERT that fire with soft PMC.
MFC after: 1 week
Modified:
head/sys/dev/hwpmc/hwpmc_intel.c
Modified: head/sys/dev/hwpmc/hwpmc_intel.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_intel.c Thu May 10 13:30:42 2012 (r235228)
+++ head/sys/dev/hwpmc/hwpmc_intel.c Thu May 10 14:27:49 2012 (r235229)
@@ -196,10 +196,6 @@ pmc_intel_initialize(void)
case PMC_CPU_INTEL_PIV:
error = pmc_p4_initialize(pmc_mdep, ncpus);
-
- KASSERT(pmc_mdep->pmd_npmc == TSC_NPMCS + P4_NPMCS,
- ("[intel,%d] incorrect npmc count %d", __LINE__,
- pmc_mdep->pmd_npmc));
break;
#endif
@@ -214,10 +210,6 @@ pmc_intel_initialize(void)
case PMC_CPU_INTEL_PIII:
case PMC_CPU_INTEL_PM:
error = pmc_p6_initialize(pmc_mdep, ncpus);
-
- KASSERT(pmc_mdep->pmd_npmc == TSC_NPMCS + P6_NPMCS,
- ("[intel,%d] incorrect npmc count %d", __LINE__,
- pmc_mdep->pmd_npmc));
break;
/*
@@ -226,10 +218,6 @@ pmc_intel_initialize(void)
case PMC_CPU_INTEL_P5:
error = pmc_p5_initialize(pmc_mdep, ncpus);
-
- KASSERT(pmc_mdep->pmd_npmc == TSC_NPMCS + PENTIUM_NPMCS,
- ("[intel,%d] incorrect npmc count %d", __LINE__,
- pmc_mdep->pmd_npmc));
break;
#endif
More information about the svn-src-all
mailing list