Drop the first argument of intr_establish().
authormiod <miod@openbsd.org>
Fri, 29 Mar 2024 21:29:33 +0000 (21:29 +0000)
committermiod <miod@openbsd.org>
Fri, 29 Mar 2024 21:29:33 +0000 (21:29 +0000)
commit8a1e8ccaf72b414f303ec266a1bf09741dab5c4c
treec4afafbc7fe8a13cf79f4fd2e3cbde6306ed1d2b
parent8ad6162f58ae810f64077ecbb551d6b4a69595a3
Drop the first argument of intr_establish().

Instead, require all callers to put the right value in the ih_pil field, and
have intr_establish() trust them rather than assigning this field again from
its first argument.

ok claudio@ kettenis@
12 files changed:
sys/arch/sparc64/dev/ebus_mainbus.c
sys/arch/sparc64/dev/fhc.c
sys/arch/sparc64/dev/psycho.c
sys/arch/sparc64/dev/pyro.c
sys/arch/sparc64/dev/sbus.c
sys/arch/sparc64/dev/schizo.c
sys/arch/sparc64/dev/vbus.c
sys/arch/sparc64/dev/vpci.c
sys/arch/sparc64/include/intr.h
sys/arch/sparc64/sparc64/clock.c
sys/arch/sparc64/sparc64/intr.c
sys/arch/sparc64/sparc64/machdep.c