summaryrefslogtreecommitdiffstats
path: root/sys/dev/hwpmc/hwpmc_powerpc.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-12-25 14:29:36 +0000
committerbz <bz@FreeBSD.org>2011-12-25 14:29:36 +0000
commit51ccfb890c860947771ac3bcd3da8f19752c6dec (patch)
tree8a543170b1ed3c4793eb16d787172aa6a2a8fc56 /sys/dev/hwpmc/hwpmc_powerpc.c
parent94851d77b0c2f1f4b472367eb00b915c3552a5b8 (diff)
downloadFreeBSD-src-51ccfb890c860947771ac3bcd3da8f19752c6dec.zip
FreeBSD-src-51ccfb890c860947771ac3bcd3da8f19752c6dec.tar.gz
Quite the tinderbox for the holidays. Remove the assert[1].
Suggested by: jhibbits [1] MFC after: 3 days
Diffstat (limited to 'sys/dev/hwpmc/hwpmc_powerpc.c')
-rw-r--r--sys/dev/hwpmc/hwpmc_powerpc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/hwpmc/hwpmc_powerpc.c b/sys/dev/hwpmc/hwpmc_powerpc.c
index 32be384..8e97b97 100644
--- a/sys/dev/hwpmc/hwpmc_powerpc.c
+++ b/sys/dev/hwpmc/hwpmc_powerpc.c
@@ -686,11 +686,6 @@ powerpc_intr(int cpu, struct trapframe *tf)
v = pm->pm_sc.pm_reloadcount;
config = mfspr(SPR_MMCR0);
- KASSERT((config & ~AMD_PMC_ENABLE) ==
- (pm->pm_md.pm_amd.pm_amd_evsel & ~AMD_PMC_ENABLE),
- ("[powerpc,%d] config mismatch reg=0x%x pm=0x%x", __LINE__,
- config, pm->pm_md.pm_amd.pm_amd_evsel));
-
mtspr(SPR_MMCR0, config | SPR_MMCR0_FC);
powerpc_pmcn_write(i, v);
OpenPOWER on IntegriCloud