diff options
author | marcel <marcel@FreeBSD.org> | 2006-04-21 16:12:28 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-04-21 16:12:28 +0000 |
commit | 35fe8d3d114fa24c9d5d3b0ddf9b918d94049a84 (patch) | |
tree | 38a39fcb6ba9870d13c04ed894fc4d216f13eec6 /sys/ia64 | |
parent | 12209e78beabe7813db4a4639012d6accc7a00a3 (diff) | |
download | FreeBSD-src-35fe8d3d114fa24c9d5d3b0ddf9b918d94049a84.zip FreeBSD-src-35fe8d3d114fa24c9d5d3b0ddf9b918d94049a84.tar.gz |
In nexus_teardown_intr(), actually remove the handler.
MFC after: 1 day
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/nexus.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/ia64/ia64/nexus.c b/sys/ia64/ia64/nexus.c index 39bc3f9..23eef4b 100644 --- a/sys/ia64/ia64/nexus.c +++ b/sys/ia64/ia64/nexus.c @@ -496,13 +496,11 @@ nexus_setup_intr(device_t bus, device_t child, struct resource *irq, } static int -nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih) +nexus_teardown_intr(device_t dev, device_t child, struct resource *ires, + void *cookie) { -#if 0 - return (inthand_remove(ih)); -#else - return 0; -#endif + + return (ia64_teardown_intr(cookie)); } static struct resource_list * |