diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2002-08-29 06:17:48 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2002-08-29 06:17:48 +0000 |
commit | bafbd49201cc9cba4c0b2273d2f1c95b1650bc49 (patch) | |
tree | 504a24449e0b0453b084a0982a343d168bd22048 /sys/powerpc/aim/machdep.c | |
parent | 409017e8e1062d4d5c3febaa97cdca6ff85651a9 (diff) | |
download | src-bafbd49201cc9cba4c0b2273d2f1c95b1650bc49.tar.gz src-bafbd49201cc9cba4c0b2273d2f1c95b1650bc49.zip |
Renamed poorly named setregs to exec_setregs. Moved its prototype to
imgact.h with the other exec support functions.
Notes
Notes:
svn path=/head/; revision=102561
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 17836fae6f71..a9aa219b8d9f 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -66,6 +66,7 @@ static const char rcsid[] = #include <sys/param.h> #include <sys/systm.h> #include <sys/eventhandler.h> +#include <sys/imgact.h> #include <sys/sysproto.h> #include <sys/lock.h> #include <sys/mutex.h> @@ -841,7 +842,7 @@ cpu_halt(void) * Set set up registers on exec. */ void -setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings) +exec_setregs(struct thread *td, u_long entry, u_long stack, u_long ps_strings) { struct trapframe *tf; struct ps_strings arginfo; |