git: a72922a2a6a6 - stable/13 - Remove last references of vm_ih

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Wed, 19 Oct 2022 13:50:31 UTC
The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=a72922a2a6a6ae682be22c4e560c069c247a537e

commit a72922a2a6a6ae682be22c4e560c069c247a537e
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-12 16:32:27 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-19 13:41:13 +0000

    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
    
    (cherry picked from commit e23c3445f69c945a8d5316b26bd996dbc900b2aa)
---
 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 09162469daed..f099e73e80d9 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 */