From fab48452ae20b55687c6c17d15e2e8491983ba77 Mon Sep 17 00:00:00 2001 From: Paolo Pisati Date: Fri, 2 Mar 2007 15:13:17 +0000 Subject: [PATCH] Make pswitch_intr() returns interrupt handling status. --- sys/powerpc/powermac/pswitch.c | 5 +++-- 1 file 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); }