1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Add needed include of ucontext.h. Fix braino setting curpcb.

This commit is contained in:
Jake Burkholder 2002-02-23 18:39:09 +00:00
parent 47fc42e6a0
commit 4d4b329999
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91156

View File

@ -66,6 +66,7 @@
#include <sys/sysent.h>
#include <sys/sysproto.h>
#include <sys/timetc.h>
#include <sys/ucontext.h>
#include <sys/user.h>
#include <sys/exec.h>
@ -290,7 +291,7 @@ sparc64_init(caddr_t mdp, u_int *state, u_int mid, u_int bootmid,
pc = (struct pcpu *)(pcpu0 + PAGE_SIZE) - 1;
pcpu_init(pc, 0, sizeof(struct pcpu));
pc->pc_curthread = &thread0;
pc->pc_curpcb = &thread0.td_pcb;
pc->pc_curpcb = thread0.td_pcb;
pc->pc_mid = mid;
/*