Since all interrupt table implementations use the same index variable to
indicate current table size, use that instead of size variables.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 49176 Build 46065: arc lint + arc unit
Event Timeline
Comment Actions
Update db_show_intrcnt() rather more than suggested, fully adjust to match how all architectures have been handling intrnames for some time.
Testing identified trouble with watchdog_fire(), do similar work there.
sys/kern/kern_intr.c | ||
---|---|---|
1648 | I should add. I could do a second commit (which may or may not work as part of D38116) which moves INTRNAME_LEN from sys/sys/intr.h to sys/sys/interrupt.h and modifies sys/powerpc/powerpc/intr_machdep.c/sys/x86/x86/intr_machdep.c to use that instead of MAXCOMLEN + 1. If that was done then it would be appropriate to use INTRNAME_LEN instead and I would do so. |