diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2004-03-28 12:03:39 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2004-03-28 12:03:39 +0000 |
| commit | 94d77589cae045e88e626633e1e332b7bdc1744a (patch) | |
| tree | 57699a1e8fbb5cbefdb45e378ef812799cbe9be8 | |
| parent | 5aaa432dcc980f08e6b82c7c09015da227d5dc1a (diff) | |
Notes
| -rw-r--r-- | sys/pc98/i386/machdep.c | 1 | ||||
| -rw-r--r-- | sys/pc98/pc98/machdep.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index da93a65f6d62..a9ad6dd34c1c 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -2076,6 +2076,7 @@ init386(first) pcpu_init(pc, 0, sizeof(struct pcpu)); PCPU_SET(prvspace, pc); PCPU_SET(curthread, &thread0); + PCPU_SET(curpcb, thread0.td_pcb); /* * Initialize mutexes. diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index da93a65f6d62..a9ad6dd34c1c 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -2076,6 +2076,7 @@ init386(first) pcpu_init(pc, 0, sizeof(struct pcpu)); PCPU_SET(prvspace, pc); PCPU_SET(curthread, &thread0); + PCPU_SET(curpcb, thread0.td_pcb); /* * Initialize mutexes. |
