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
F151100180: D40767.id.diff
Mon, Apr 6, 1:25 AM
Unknown Object (File)
Thu, Mar 19, 7:31 PM
Unknown Object (File)
Thu, Mar 19, 3:42 PM
Unknown Object (File)
Wed, Mar 18, 5:34 PM
Unknown Object (File)
Sun, Mar 15, 1:17 PM
Unknown Object (File)
Tue, Mar 10, 10:19 AM
Unknown Object (File)
Jan 31 2026, 11:23 AM
Unknown Object (File)
Jan 26 2026, 8:13 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;