summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/powermac
diff options
context:
space:
mode:
authorpiso <piso@FreeBSD.org>2007-03-02 15:13:17 +0000
committerpiso <piso@FreeBSD.org>2007-03-02 15:13:17 +0000
commita02f7880b03bb39cf812da3f91b0fbd0019d3311 (patch)
tree1802ccec40f4b0ddbbbdeece042f202365c80d54 /sys/powerpc/powermac
parent7de308e0082db28dc1ff0b3493a520c07c753e6f (diff)
downloadFreeBSD-src-a02f7880b03bb39cf812da3f91b0fbd0019d3311.zip
FreeBSD-src-a02f7880b03bb39cf812da3f91b0fbd0019d3311.tar.gz
Make pswitch_intr() returns interrupt handling status.
Diffstat (limited to 'sys/powerpc/powermac')
-rw-r--r--sys/powerpc/powermac/pswitch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/powermac/pswitch.c b/sys/powerpc/powermac/pswitch.c
index 9e460a9..62777eb 100644
--- a/sys/powerpc/powermac/pswitch.c
+++ b/sys/powerpc/powermac/pswitch.c
@@ -52,7 +52,7 @@ struct pswitch_softc {
static int pswitch_probe(device_t);
static int pswitch_attach(device_t);
-static void pswitch_intr(void *);
+static int pswitch_intr(void *);
static device_method_t pswitch_methods[] = {
/* Device interface */
@@ -132,7 +132,7 @@ pswitch_attach(device_t dev)
return (0);
}
-static void
+static int
pswitch_intr(void *arg)
{
device_t dev;
@@ -140,4 +140,5 @@ pswitch_intr(void *arg)
dev = (device_t)arg;
kdb_enter(device_get_nameunit(dev));
+ return (FILTER_HANDLED);
}
OpenPOWER on IntegriCloud