diff options
Diffstat (limited to 'sys/ia64/ia32/ia32_misc.c')
-rw-r--r-- | sys/ia64/ia32/ia32_misc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/ia64/ia32/ia32_misc.c b/sys/ia64/ia32/ia32_misc.c index 10eb642..8b707b4 100644 --- a/sys/ia64/ia32/ia32_misc.c +++ b/sys/ia64/ia32/ia32_misc.c @@ -106,7 +106,7 @@ ia32_emul_find(td, sgp, prefix, path, pbuf, cflag) struct vattr vat; struct vattr vatroot; - buf = (char *) malloc(MAXPATHLEN, M_TEMP, M_WAITOK); + buf = (char *) malloc(MAXPATHLEN, M_TEMP, 0); *pbuf = path; for (ptr = buf; (*ptr = *prefix) != '\0'; ptr++, prefix++) @@ -769,8 +769,8 @@ ia32_readv(struct thread *td, struct ia32_readv_args *uap) osize = uap->iovcnt * sizeof (struct iovec32); nsize = uap->iovcnt * sizeof (struct iovec); - oio = malloc(osize, M_TEMP, M_WAITOK); - nio = malloc(nsize, M_TEMP, M_WAITOK); + oio = malloc(osize, M_TEMP, 0); + nio = malloc(nsize, M_TEMP, 0); error = 0; if ((error = copyin(uap->iovp, oio, osize))) @@ -815,8 +815,8 @@ ia32_writev(struct thread *td, struct ia32_writev_args *uap) osize = uap->iovcnt * sizeof (struct iovec32); nsize = uap->iovcnt * sizeof (struct iovec); - oio = malloc(osize, M_TEMP, M_WAITOK); - nio = malloc(nsize, M_TEMP, M_WAITOK); + oio = malloc(osize, M_TEMP, 0); + nio = malloc(nsize, M_TEMP, 0); error = 0; if ((error = copyin(uap->iovp, oio, osize))) |