1
0
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:
Nathan Whitehorn 2012-09-23 17:33:16 +00:00
parent 3eabad2587
commit 2383d92ae8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240860
2 changed files with 1 additions and 3 deletions

View File

@ -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_ */

View File

@ -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_ */