summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-02-23 20:03:24 +0000
committerjhb <jhb@FreeBSD.org>2007-02-23 20:03:24 +0000
commit2e25469b765e1df9a509b40dd03d990c793ef595 (patch)
tree98635b0c9089a249149da7038ad28f1a86b447bc /sys
parenta6f25664a878648fcaa79716a1e6c5ec08ac7210 (diff)
downloadFreeBSD-src-2e25469b765e1df9a509b40dd03d990c793ef595.zip
FreeBSD-src-2e25469b765e1df9a509b40dd03d990c793ef595.tar.gz
Use ih_filter instead of ih_handler in a couple of places. This fixes
most INTR_FAST handlers on i386. Reviewed by: piso
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/intr_machdep.c2
-rw-r--r--sys/i386/i386/intr_machdep.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/intr_machdep.c b/sys/amd64/amd64/intr_machdep.c
index 2a7dd9a..447bbb9 100644
--- a/sys/amd64/amd64/intr_machdep.c
+++ b/sys/amd64/amd64/intr_machdep.c
@@ -271,7 +271,7 @@ intr_execute_handlers(struct intsrc *isrc, struct trapframe *frame)
continue;
}
CTR4(KTR_INTR, "%s: exec %p(%p) for %s", __func__,
- ih->ih_handler, ih->ih_argument == NULL ? frame :
+ ih->ih_filter, ih->ih_argument == NULL ? frame :
ih->ih_argument, ih->ih_name);
if (ih->ih_argument == NULL)
ih->ih_filter(frame);
diff --git a/sys/i386/i386/intr_machdep.c b/sys/i386/i386/intr_machdep.c
index 40ca4bc..c505984 100644
--- a/sys/i386/i386/intr_machdep.c
+++ b/sys/i386/i386/intr_machdep.c
@@ -262,12 +262,12 @@ intr_execute_handlers(struct intsrc *isrc, struct trapframe *frame)
continue;
}
CTR4(KTR_INTR, "%s: exec %p(%p) for %s", __func__,
- ih->ih_handler, ih->ih_argument == NULL ? frame :
+ ih->ih_filter, ih->ih_argument == NULL ? frame :
ih->ih_argument, ih->ih_name);
if (ih->ih_argument == NULL)
ih->ih_filter(frame);
else
- ih->ih_handler(ih->ih_argument);
+ ih->ih_filter(ih->ih_argument);
}
/*
OpenPOWER on IntegriCloud