diff options
Diffstat (limited to 'sys/alpha')
| -rw-r--r-- | sys/alpha/alpha/machdep.c | 4 | ||||
| -rw-r--r-- | sys/alpha/include/reg.h | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 71aaea175440f..af5e44b634f28 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -97,6 +97,7 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/eventhandler.h> +#include <sys/imgact.h> #include <sys/sysproto.h> #include <sys/ktr.h> #include <sys/signalvar.h> @@ -131,7 +132,6 @@ #include <sys/ucontext.h> #include <machine/clock.h> #include <machine/md_var.h> -#include <machine/reg.h> #include <machine/fpu.h> #include <machine/pal.h> #include <machine/cpuconf.h> @@ -1583,7 +1583,7 @@ cpu_halt(void) * Clear 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 *tfp = td->td_frame; diff --git a/sys/alpha/include/reg.h b/sys/alpha/include/reg.h index 3ea61431cc885..6e1b1d3c26e69 100644 --- a/sys/alpha/include/reg.h +++ b/sys/alpha/include/reg.h @@ -114,7 +114,6 @@ void savefpstate(struct fpreg *); /* * XXX these interfaces are MI, so they should be declared in a MI place. */ -void setregs(struct thread *, u_long, u_long, u_long); int fill_regs(struct thread *, struct reg *); int set_regs(struct thread *, struct reg *); int fill_fpregs(struct thread *, struct fpreg *); |
