summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-04-23 20:22:44 +0000
committerdt <dt@FreeBSD.org>1999-04-23 20:22:44 +0000
commitc270d3adedbf4362a0abc19a3c11a15ebc693b56 (patch)
tree40334ac7ba630db796326b44c673189dd9e201b6
parenta1d50daf71a515345d76c46cbb02257280fc15a0 (diff)
downloadFreeBSD-src-c270d3adedbf4362a0abc19a3c11a15ebc693b56.zip
FreeBSD-src-c270d3adedbf4362a0abc19a3c11a15ebc693b56.tar.gz
Moved cpu_set_fork_handler's prototype from <machine/cpu.h> to <sys/proc.h>.
Suggested by: bde
-rw-r--r--sys/alpha/include/cpu.h3
-rw-r--r--sys/amd64/include/cpu.h3
-rw-r--r--sys/i386/include/cpu.h3
-rw-r--r--sys/sys/proc.h4
4 files changed, 6 insertions, 7 deletions
diff --git a/sys/alpha/include/cpu.h b/sys/alpha/include/cpu.h
index 990f922..928a05a 100644
--- a/sys/alpha/include/cpu.h
+++ b/sys/alpha/include/cpu.h
@@ -1,4 +1,4 @@
-/* $Id: cpu.h,v 1.5 1999/02/02 09:08:23 bde Exp $ */
+/* $Id: cpu.h,v 1.6 1999/04/20 22:53:53 dt Exp $ */
/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */
/*
@@ -174,7 +174,6 @@ void switch_trampoline __P((void)); /* MAGIC */
void syscall __P((u_int64_t, struct trapframe *));
void trap __P((unsigned long, unsigned long, unsigned long, unsigned long,
struct trapframe *));
-void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *), const void *));
#endif /* _KERNEL */
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 0536b73..06f060d 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.37 1999/01/29 08:36:43 dillon Exp $
+ * $Id: cpu.h,v 1.38 1999/02/02 09:08:23 bde Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -132,7 +132,6 @@ extern int want_resched; /* resched was called */
void fork_trampoline __P((void));
void fork_return __P((struct proc *, struct trapframe));
-void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *), const void *));
#endif
#endif /* !_MACHINE_CPU_H_ */
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h
index 0536b73..06f060d 100644
--- a/sys/i386/include/cpu.h
+++ b/sys/i386/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.37 1999/01/29 08:36:43 dillon Exp $
+ * $Id: cpu.h,v 1.38 1999/02/02 09:08:23 bde Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -132,7 +132,6 @@ extern int want_resched; /* resched was called */
void fork_trampoline __P((void));
void fork_return __P((struct proc *, struct trapframe));
-void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *), const void *));
#endif
#endif /* !_MACHINE_CPU_H_ */
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 324eb91..1195526 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.15 (Berkeley) 5/19/95
- * $Id: proc.h,v 1.76 1999/04/06 03:23:09 peter Exp $
+ * $Id: proc.h,v 1.77 1999/04/13 19:17:13 peter Exp $
*/
#ifndef _SYS_PROC_H_
@@ -377,6 +377,8 @@ void wakeup_one __P((void *chan));
void cpu_exit __P((struct proc *)) __dead2;
void exit1 __P((struct proc *, int)) __dead2;
void cpu_fork __P((struct proc *, struct proc *));
+void cpu_set_fork_handler __P((struct proc *, void (*pc)(const void *),
+ const void *));
int fork1 __P((struct proc *, int));
int trace_req __P((struct proc *));
void cpu_wait __P((struct proc *));
OpenPOWER on IntegriCloud