summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-01-08 15:25:45 +0000
committerjake <jake@FreeBSD.org>2001-01-08 15:25:45 +0000
commit470280a25e93adea60fe0b8555566156f798a25a (patch)
tree9c70aedcbeeca266b13f64bfb9da796b2259fa28 /sys/i386
parent4a1dcddb0137087a32b6f1e4986d5467bc5f5f2c (diff)
downloadFreeBSD-src-470280a25e93adea60fe0b8555566156f798a25a.zip
FreeBSD-src-470280a25e93adea60fe0b8555566156f798a25a.tar.gz
Fix a warning. The type of globaldata.gd_prvspace has changed.
Diffstat (limited to 'sys/i386')
-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
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c
index bed96be..6c3abeb 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 bed96be..6c3abeb 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 bed96be..6c3abeb 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);
OpenPOWER on IntegriCloud