Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in...
[minix3-old.git] / lib / syslib / sys_eniop.c
blob2a8f4f04aae73bc57ea529bdfbce1a100120706a
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_enable_iop *
5 *===========================================================================*/
6 PUBLIC int sys_enable_iop(proc_nr_e)
7 int proc_nr_e; /* number of process to allow I/O */
9 message m_iop;
10 m_iop.IO_ENDPT = proc_nr_e;
11 return _taskcall(SYSTASK, SYS_IOPENABLE, &m_iop);