hwpmc: fix arm64 INVARIANTS build
This commit is contained in:
parent
b8af2820f6
commit
7f5336f666
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334831
@ -331,11 +331,11 @@ arm64_intr(struct trapframe *tf)
|
||||
int error;
|
||||
int reg, cpu;
|
||||
|
||||
cpu = curcpu;
|
||||
KASSERT(cpu >= 0 && cpu < pmc_cpu_max(),
|
||||
("[arm64,%d] CPU %d out of range", __LINE__, cpu));
|
||||
|
||||
retval = 0;
|
||||
cpu = curcpu;
|
||||
pc = arm64_pcpu[cpu];
|
||||
|
||||
for (ri = 0; ri < arm64_npmcs; ri++) {
|
||||
|
Loading…
Reference in New Issue
Block a user