mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Moved cpu_set_fork_handler's prototype from <machine/cpu.h> to <sys/proc.h>.
Suggested by: bde
This commit is contained in:
parent
e415107779
commit
0666dbe1cf
4 changed files with 6 additions and 7 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
|
|
|
|||
|
|
@ -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_ */
|
||||
|
|
|
|||
|
|
@ -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 *));
|
||||
|
|
|
|||
Loading…
Reference in a new issue