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)
Sat, Aug 8, 10:07 PM
Unknown Object (File)
Sat, Aug 8, 4:17 PM
Unknown Object (File)
Sat, Aug 8, 10:17 AM
Unknown Object (File)
Fri, Aug 7, 4:12 PM
Unknown Object (File)
Thu, Aug 6, 12:47 AM
Unknown Object (File)
Wed, Aug 5, 7:42 AM
Unknown Object (File)
May 14 2026, 6:58 PM
Unknown Object (File)
May 14 2026, 6:57 PM
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;