Page MenuHomeFreeBSD

Hide irq_next_free, it's not used out of this file
ClosedPublic

Authored by andrew on Jun 27 2023, 8:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 21, 2:16 PM
Unknown Object (File)
Sat, Apr 19, 8:20 PM
Unknown Object (File)
Sat, Apr 19, 8:20 PM
Unknown Object (File)
Sat, Apr 19, 8:20 PM
Unknown Object (File)
Sat, Apr 19, 8:08 PM
Unknown Object (File)
Mon, Apr 14, 3:31 PM
Unknown Object (File)
Mon, Apr 14, 10:10 AM
Unknown Object (File)
Mon, Apr 14, 8:30 AM
Subscribers

Details

Summary

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mhorne added a subscriber: mhorne.

It has no external declaration I suppose?

This revision is now accepted and ready to land.Jun 27 2023, 5:13 PM

I only see it in subr_intr.c:

% git grep irq_next_free
sys/kern/subr_intr.c:static u_int irq_next_free;
sys/kern/subr_intr.c:   if (irq_next_free >= intr_nirq)
sys/kern/subr_intr.c:   for (irq = irq_next_free; irq < intr_nirq; irq++) {
sys/kern/subr_intr.c:   for (irq = 0; irq < irq_next_free; irq++) {
sys/kern/subr_intr.c:   irq_next_free = intr_nirq;
sys/kern/subr_intr.c:   irq_next_free = irq + 1;
sys/kern/subr_intr.c:   if (irq_next_free >= intr_nirq)
sys/kern/subr_intr.c:           irq_next_free = 0;
sys/kern/subr_intr.c:   if (irq_next_free >= intr_nirq)
sys/kern/subr_intr.c:           irq_next_free = 0;