git: e23c3445f69c - main - Remove last references of vm_ih
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Oct 2022 16:46:26 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=e23c3445f69c945a8d5316b26bd996dbc900b2aa
commit e23c3445f69c945a8d5316b26bd996dbc900b2aa
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-12 16:32:27 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-12 16:45:45 +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
---
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 */