mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
Quite the tinderbox for the holidays. Remove the assert[1].
Suggested by: jhibbits [1] MFC after: 3 days
This commit is contained in:
parent
80cdf644e6
commit
d9667fc69e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228874
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user