diff options
author | jhb <jhb@FreeBSD.org> | 2005-10-26 15:51:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-10-26 15:51:05 +0000 |
commit | df1acf8cfc8911c31b6c04a64625126f87e60316 (patch) | |
tree | 82b0b193f1525122a5d2fa726e6a79eca5ba1d04 /sys/sys/interrupt.h | |
parent | 96c89ee304b32108340680ce85ac644a0a7d9b85 (diff) | |
download | FreeBSD-src-df1acf8cfc8911c31b6c04a64625126f87e60316.zip FreeBSD-src-df1acf8cfc8911c31b6c04a64625126f87e60316.tar.gz |
Add a swi_remove() function to teardown software interrupt handlers. For
now it just calls intr_event_remove_handler(), but at some point it might
also be responsible for tearing down interrupt events created via swi_add.
Diffstat (limited to 'sys/sys/interrupt.h')
-rw-r--r-- | sys/sys/interrupt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h index 75a2573..2856703 100644 --- a/sys/sys/interrupt.h +++ b/sys/sys/interrupt.h @@ -125,5 +125,6 @@ int swi_add(struct intr_event **eventp, const char *name, driver_intr_t handler, void *arg, int pri, enum intr_type flags, void **cookiep); void swi_sched(void *cookie, int flags); +int swi_remove(void *cookie); #endif |