diff options
| author | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
| commit | 53524e44efd7c7176da8dc8190a698b2fe184db1 (patch) | |
| tree | 68b6fb4aee85c3eb0a522cc199c3a3427938828e /sys/compat/linux/common/linux_exec.c | |
| parent | 1b20cebad5f8d3582a41d5599641a95247721732 (diff) | |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
| -rw-r--r-- | sys/compat/linux/common/linux_exec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c index d7e719a62e5..bbcc3a74ce5 100644 --- a/sys/compat/linux/common/linux_exec.c +++ b/sys/compat/linux/common/linux_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_exec.c,v 1.92 2007/02/19 15:10:03 cube Exp $ */ +/* $NetBSD: linux_exec.c,v 1.93 2007/03/04 06:01:23 christos Exp $ */ /*- * Copyright (c) 1994, 1995, 1998, 2000, 2007 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.92 2007/02/19 15:10:03 cube Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_exec.c,v 1.93 2007/03/04 06:01:23 christos Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -105,7 +105,7 @@ linux_sys_execve(l, v, retval) } */ *uap = v; struct proc *p = l->l_proc; struct sys_execve_args ap; - caddr_t sg; + void *sg; sg = stackgap_init(p, 0); CHECK_ALT_EXIST(l, &sg, SCARG(uap, path)); @@ -212,7 +212,7 @@ linux_e_proc_init(p, parent, forkflags) * use our own vmspace. */ vm = (parent) ? parent->p_vmspace : p->p_vmspace; - s->p_break = vm->vm_daddr + ctob(vm->vm_dsize); + s->p_break = (char *)vm->vm_daddr + ctob(vm->vm_dsize); /* * Linux threads are emulated as NetBSD processes (not lwp) |
