summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/machdep.c
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-08-29 06:17:48 +0000
committerjake <jake@FreeBSD.org>2002-08-29 06:17:48 +0000
commit821a548da75eefa18540bb668624292c4408fd33 (patch)
tree504a24449e0b0453b084a0982a343d168bd22048 /sys/powerpc/aim/machdep.c
parent97dddf3bbf469578f768ae9cecb847603aed817d (diff)
downloadFreeBSD-src-821a548da75eefa18540bb668624292c4408fd33.zip
FreeBSD-src-821a548da75eefa18540bb668624292c4408fd33.tar.gz
Renamed poorly named setregs to exec_setregs. Moved its prototype to
imgact.h with the other exec support functions.
Diffstat (limited to 'sys/powerpc/aim/machdep.c')
-rw-r--r--sys/powerpc/aim/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index 17836fa..a9aa219 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;
OpenPOWER on IntegriCloud