summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Pisati <piso@FreeBSD.org>2007-03-02 15:13:17 +0000
committerPaolo Pisati <piso@FreeBSD.org>2007-03-02 15:13:17 +0000
commitfab48452ae20b55687c6c17d15e2e8491983ba77 (patch)
tree1802ccec40f4b0ddbbbdeece042f202365c80d54
parentd08ec007189b2e5757defcb0bd807bb8efc26c00 (diff)
Notes
-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 9e460a9c18d0..62777eb33748 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);
}