summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_intr.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-18 15:32:09 +0000
committerbde <bde@FreeBSD.org>1998-06-18 15:32:09 +0000
commit5f62f0e8d098c625160e74c3257b2c9eae1a8cc2 (patch)
treedf02485b79b159afa1982eac17e611a52c457f44 /sys/kern/kern_intr.c
parentee69dd69c584a8a7bd6cb1a59e16ade77758ff6a (diff)
downloadFreeBSD-src-5f62f0e8d098c625160e74c3257b2c9eae1a8cc2.zip
FreeBSD-src-5f62f0e8d098c625160e74c3257b2c9eae1a8cc2.tar.gz
Changed the type of an isa/general interrupt handler to take a
`void *' arg. Fixed or hid most of the resulting type mismatches. Handlers can now be updated locally (except for reworking their global declarations in isa_device.h).
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r--sys/kern/kern_intr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 1b873d4..4d2ffc7 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: kern_intr.c,v 1.15 1998/06/07 17:11:34 dfr Exp $
+ * $Id: kern_intr.c,v 1.16 1998/06/11 07:23:59 dfr Exp $
*
*/
@@ -84,8 +84,7 @@ intr_mux(void *arg)
while (p != NULL) {
int oldspl = splq(p->mask);
- /* inthand2_t should take (void*) argument */
- p->handler((long)p->argument);
+ p->handler(p->argument);
splx(oldspl);
p = p->next;
}
OpenPOWER on IntegriCloud