summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-12-17 03:19:02 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-12-17 03:19:02 +0000
commit24ec58ade0f932229afc2f3eaa4ae5d9cf098c51 (patch)
tree2e91e0ba0314bdeaea270929e397751972b0d66a /sys/arch/powerpc/include
parentdb612c31eaea51b5134b19e147280173de6e12ab (diff)
Move the process_read_reg prototype to the correct file, it is specified
in ptrace.h, not in md header files. Protect vector functions/variables with _KERNEL.
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/reg.h5
1 files changed, 3 insertions, 2 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_ */