diff options
author | jake <jake@FreeBSD.org> | 2001-01-08 15:25:45 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-01-08 15:25:45 +0000 |
commit | 470280a25e93adea60fe0b8555566156f798a25a (patch) | |
tree | 9c70aedcbeeca266b13f64bfb9da796b2259fa28 /sys | |
parent | 4a1dcddb0137087a32b6f1e4986d5467bc5f5f2c (diff) | |
download | FreeBSD-src-470280a25e93adea60fe0b8555566156f798a25a.zip FreeBSD-src-470280a25e93adea60fe0b8555566156f798a25a.tar.gz |
Fix a warning. The type of globaldata.gd_prvspace has changed.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 3 | ||||
-rw-r--r-- | sys/amd64/amd64/mptable.c | 3 | ||||
-rw-r--r-- | sys/amd64/include/mptable.h | 3 | ||||
-rw-r--r-- | sys/i386/i386/mp_machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/mptable.c | 3 | ||||
-rw-r--r-- | sys/i386/include/mptable.h | 3 | ||||
-rw-r--r-- | sys/kern/subr_smp.c | 3 |
7 files changed, 14 insertions, 7 deletions
diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index bed96be..6c3abeb 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 bed96be..6c3abeb 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 bed96be..6c3abeb 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 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); diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index bed96be..6c3abeb 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); |