mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-27 16:39:08 +00:00
Move the prototype for savectx from cpu.h to pcb.h, as it is on other
platforms, as well as putting it in an #ifdef KERNEL block. MFC after: 2 weeks
This commit is contained in:
parent
3eabad2587
commit
2383d92ae8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240860
@ -98,7 +98,4 @@ void cpu_reset(void);
|
||||
void fork_trampoline(void);
|
||||
void swi_vm(void *);
|
||||
|
||||
/* XXX the following should not be here. */
|
||||
void savectx(struct pcb *) __returns_twice;
|
||||
|
||||
#endif /* _MACHINE_CPU_H_ */
|
||||
|
@ -89,6 +89,7 @@ extern struct pmap *curpm;
|
||||
extern struct proc *fpuproc;
|
||||
|
||||
void makectx(struct trapframe *, struct pcb *);
|
||||
void savectx(struct pcb *) __returns_twice;
|
||||
|
||||
#endif
|
||||
#endif /* _MACHINE_PCB_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user