summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorfabient <fabient@FreeBSD.org>2012-05-10 14:27:49 +0000
committerfabient <fabient@FreeBSD.org>2012-05-10 14:27:49 +0000
commit40edf7c8405482dfd501bafe1197a1b555305f7e (patch)
tree4f4ac05bdfec4dc291f3f272a73671e5b4b86910 /sys/dev
parentea4708e2d14c36735baea2487283b5abebee088a (diff)
downloadFreeBSD-src-40edf7c8405482dfd501bafe1197a1b555305f7e.zip
FreeBSD-src-40edf7c8405482dfd501bafe1197a1b555305f7e.tar.gz
Remove out of date KASSERT that fire with soft PMC.
MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/hwpmc/hwpmc_intel.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/hwpmc/hwpmc_intel.c b/sys/dev/hwpmc/hwpmc_intel.c
index f7adb6c..1e52e22 100644
--- a/sys/dev/hwpmc/hwpmc_intel.c
+++ b/sys/dev/hwpmc/hwpmc_intel.c
@@ -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
OpenPOWER on IntegriCloud