diff options
author | Miles Bader <miles@gnu.org> | 1995-08-25 18:48:00 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-08-25 18:48:00 +0000 |
commit | bfd7a8417783bf175bdb0a884cdfbfc9aecb4f95 (patch) | |
tree | 2245fde4e361439ed597c10300ed391a30d25365 /libtrivfs | |
parent | 071287b5b4b52299025485b09e85a4b0cfb1a170 (diff) |
(trivfs_S_interrupt_operation): Use ports_interrupt_rpc.
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/interrupt.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libtrivfs/interrupt.c b/libtrivfs/interrupt.c index 5dac2a1c..3b3bd211 100644 --- a/libtrivfs/interrupt.c +++ b/libtrivfs/interrupt.c @@ -22,8 +22,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "priv.h" #include "interrupt_S.h" -kern_return_t -trivfs_S_interrupt_operation (mach_port_t handle) +error_t +trivfs_S_interrupt_operation (mach_port_t port) { + struct port_info *pi = ports_lookup_port (0, port, 0); + if (!pi) + return EOPNOTSUPP; + ports_interrupt_rpc (pi); + ports_port_deref (pi); return 0; } |