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)
Thu, May 14, 6:58 PM
Unknown Object (File)
Thu, May 14, 6:57 PM
Unknown Object (File)
Thu, May 14, 6:56 PM
Unknown Object (File)
Thu, May 14, 6:56 PM
Unknown Object (File)
Apr 22 2026, 10:42 PM
Unknown Object (File)
Apr 18 2026, 8:31 AM
Unknown Object (File)
Apr 11 2026, 2:39 PM
Unknown Object (File)
Apr 11 2026, 9:28 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;