aboutsummaryrefslogtreecommitdiff
path: root/sys
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
parentc86c6f748b98c2f271a898890e78056aed072086 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/mp_machdep.c3
-rw-r--r--sys/amd64/amd64/mptable.c3
-rw-r--r--sys/amd64/include/mptable.h3
-rw-r--r--sys/i386/i386/mp_machdep.c3
-rw-r--r--sys/i386/i386/mptable.c3
-rw-r--r--sys/i386/include/mptable.h3
-rw-r--r--sys/kern/subr_smp.c3
7 files changed, 14 insertions, 7 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/amd64/amd64/mp_machdep.c
+++ b/sys/amd64/amd64/mp_machdep.c
@@ -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);
diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/amd64/amd64/mptable.c
+++ b/sys/amd64/amd64/mptable.c
@@ -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);
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);
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/i386/i386/mp_machdep.c
+++ b/sys/i386/i386/mp_machdep.c
@@ -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);
diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/i386/i386/mptable.c
+++ b/sys/i386/i386/mptable.c
@@ -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);
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/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);
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index bed96bef91f5..6c3abebcdbe3 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -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);