aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2001-01-08 15:25:45 +0000
committerJake Burkholder <jake@FreeBSD.org>2001-01-08 15:25:45 +0000
commitbb5c0622b7b45156d72d8f4343c3932b4e1c3d75 (patch)
treeaea1df1725902767a5465a8b010642200cb0c0c8 /sys/amd64/include
parentc86c6f748b98c2f271a898890e78056aed072086 (diff)
Notes
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/mptable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -464,7 +464,8 @@ init_secondary(void)
gdt_segs[GPRIV_SEL].ssd_base = (int) &SMP_prvspace[myid];
gdt_segs[GPROC0_SEL].ssd_base =
(int) &SMP_prvspace[myid].globaldata.gd_common_tss;
- SMP_prvspace[myid].globaldata.gd_prvspace = &SMP_prvspace[myid];
+ SMP_prvspace[myid].globaldata.gd_prvspace =
+ &SMP_prvspace[myid].globaldata;
for (x = 0; x < NGDT; x++) {
ssdtosd(&gdt_segs[x], &gdt[myid * NGDT + x].sd);