1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Make pswitch_intr() returns interrupt handling status.

This commit is contained in:
Paolo Pisati 2007-03-02 15:13:17 +00:00
parent d08ec00718
commit fab48452ae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167170

View File

@ -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);
}