summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/powerpc/include/reg.h5
-rw-r--r--sys/arch/powerpc/powerpc/vm_machdep.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/reg.h b/sys/arch/powerpc/include/reg.h
index 6cdf7067053..2ca9666b694 100644
--- a/sys/arch/powerpc/include/reg.h
+++ b/sys/arch/powerpc/include/reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reg.h,v 1.4 2001/11/13 14:31:52 drahn Exp $ */
+/* $OpenBSD: reg.h,v 1.5 2001/12/17 03:19:01 drahn Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -66,11 +66,12 @@ struct vreg {
u_int32_t vrsave;
};
-int process_read_regs __P((struct proc *p, struct reg *regs));
+#ifdef _KERNEL
#ifdef PPC_VECTOR_SUPPORTED
void save_vec(struct proc *);
void enable_vec(struct proc *);
extern struct proc *ppc_vecproc;
extern struct pool ppc_vecpl;
#endif /* PPC_VECTOR_SUPPORTED */
+#endif /* _KERNEL */
#endif /* !_POWERPC_REG_H_ */
diff --git a/sys/arch/powerpc/powerpc/vm_machdep.c b/sys/arch/powerpc/powerpc/vm_machdep.c
index c377c226837..e8e7ba2df05 100644
--- a/sys/arch/powerpc/powerpc/vm_machdep.c
+++ b/sys/arch/powerpc/powerpc/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.28 2001/12/08 02:24:07 art Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.29 2001/12/17 03:19:01 drahn Exp $ */
/* $NetBSD: vm_machdep.c,v 1.1 1996/09/30 16:34:57 ws Exp $ */
/*
@@ -39,6 +39,7 @@
#include <sys/signalvar.h>
#include <sys/user.h>
#include <sys/vnode.h>
+#include <sys/ptrace.h>
#include <uvm/uvm_extern.h>