From nobody Wed Oct 12 16:46:26 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MndpB2G9wz4fkPc; Wed, 12 Oct 2022 16:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MndpB1lQQz3R85; Wed, 12 Oct 2022 16:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665593186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rvxTkUovEWIfkNpus3JZ+O8fHRFfuWQvdNw1HKcGfAw=; b=fzwbNwjFK4zvAlR1QIDLUhMw49Gl/XWtypeNWO3yWIRKvzE65vFusggcEtu67D6wJZ/z/f QV/e8LMpzWFQcXeL1ZbaT5sKnDuCEwKiejTbTbN/JXOKWNCznFD4ZdJN1NEyvexFHq+/nI VNvk9F0+60ojttE+FNAJRtpkbPa48cky6nWBoWSArY4Wvzu3U8f1ZeqUxBNNoQK8RwjEcy JTvc+vT1sm1y76pDlxivzyQhl78H8FzYGdCg3vcdIIjJ6hfne3G+eoFPzntAx/Of3or3Q1 r152l8eEueUHeg3ZOddfPbNh6PduRsKNvdM+P5HaLbOljqDPeQoRuJLaClyMSw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MndpB0mwHz1MXn; Wed, 12 Oct 2022 16:46:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29CGkQ5J007566; Wed, 12 Oct 2022 16:46:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29CGkQnO007565; Wed, 12 Oct 2022 16:46:26 GMT (envelope-from git) Date: Wed, 12 Oct 2022 16:46:26 GMT Message-Id: <202210121646.29CGkQnO007565@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: e23c3445f69c - main - Remove last references of vm_ih List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e23c3445f69c945a8d5316b26bd996dbc900b2aa Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665593186; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rvxTkUovEWIfkNpus3JZ+O8fHRFfuWQvdNw1HKcGfAw=; b=SKTmP5X47Osd4H0d/GAq6fuOQOJ7kvOc8WKOd1YFT8kUQfWsizfG3nG0zgSuJUTsDbV+O5 aFadY6nJV0J/rLFYM00QPBSNxU7NCiQA1b0N9qHuaCTSGJjibSfUWDYncZPWKPslnb6MLn JR1Vkdb8HVN48uj/y6zT1IclPWeDyCrLfMmU1n3zwX2rLZdtG5IkXMILPAMMBToANaPdjI jxis1pkky/HgteVb9/1rf0aSvOLz7T+Rnhn/SxA22dFUNMMloOZuoSrtRGC6tKOIpyNWor NPgtob/x/pyRvhg8OtR3iBo2HZHKrYZqoZCokrldmyVYR63zgwjLVYlFQJiI7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665593186; a=rsa-sha256; cv=none; b=G1V91y10Mmsx97UxYQov9TY9H6VC+h+hJRmQ017EN07K3/iyJ5RwbYeeJvdFDlBpfWwxzw PJuu9jUtwXZeRoB867Hy98JmCSJzZyzETmznZykxwcmIzGVuhrbgCqRPEZnxVFnuPT3Kio qZSim1QVzzLfOI0CpjcXY/YnLPpNgEHVKcHrdsxPwS6452SUrgQ2SCjXdVcbmIQ6svZL5P XAjta1bRQDMAr5GNBcNY+qaFZtHs8PZrFqtwDKk42RMQ4QW/Ze716Qptl5v+VTyK5Z+akf 4o3EPuPt6lvE3hbVS4EkOoFerHqQKUOQiEKo6KseEETvqpcDFWCatRGHA34RrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=e23c3445f69c945a8d5316b26bd996dbc900b2aa commit e23c3445f69c945a8d5316b26bd996dbc900b2aa Author: Mitchell Horne AuthorDate: 2022-10-12 16:32:27 +0000 Commit: Mitchell Horne 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 */