From e23c3445f69c945a8d5316b26bd996dbc900b2aa Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Wed, 12 Oct 2022 13:32:27 -0300 Subject: [PATCH] Remove last references of vm_ih The only remaining user was busdma, and so it was simplified. Reviewed by: markj, jhb MFC after: 1 week Fixes: 254e4e5b77d7 ("Simplify swi for bus_dma") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D36936 --- share/man/man9/swi.9 | 5 ----- sys/sys/interrupt.h | 1 - 2 files changed, 6 deletions(-) diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9 index 52a39fe61c86..d86538e31fd1 100644 --- a/share/man/man9/swi.9 +++ b/share/man/man9/swi.9 @@ -37,7 +37,6 @@ .In sys/interrupt.h .Vt "extern struct intr_event *tty_intr_event" ; .Vt "extern struct intr_event *clk_intr_event" ; -.Vt "extern void *vm_ih" ; .Ft int .Fo swi_add .Fa "struct intr_event **eventp" @@ -169,10 +168,6 @@ that the functionality of .Fn setdelayed can be obtained in conjunction with .Dv SWI_DELAY . -The -.Va vm_ih -handler cookie is used to schedule software interrupt threads to run for the -VM subsystem. .Sh RETURN VALUES The .Fn swi_add diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h index ee4f07da1611..edef36e68fc7 100644 --- a/sys/sys/interrupt.h +++ b/sys/sys/interrupt.h @@ -154,7 +154,6 @@ struct proc; extern struct intr_event *clk_intr_event; extern struct intr_event *tty_intr_event; -extern void *vm_ih; /* Counts and names for statistics (defined in MD code). */ extern u_long *intrcnt; /* counts for each device and stray */