diff options
author | jake <jake@FreeBSD.org> | 2001-01-21 06:50:03 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-01-21 06:50:03 +0000 |
commit | c45422f87496aada3b5a93d57ed8d187ab2f5804 (patch) | |
tree | 09b98726e068ce369ed492864b2bdb078b1934bc /sys/kern/subr_smp.c | |
parent | 42801d85d9f62297f71a73a15331cd3cc48a108f (diff) | |
download | FreeBSD-src-c45422f87496aada3b5a93d57ed8d187ab2f5804.zip FreeBSD-src-c45422f87496aada3b5a93d57ed8d187ab2f5804.tar.gz |
Remove the per-cpu pages used for copy and zero-ing pages of memory
for SMP; just use the same ones as UP. These weren't used without
holding Giant anyway, and the routines that use them would have to
be protected from pre-emption to avoid migrating cpus.
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 4b5ad13..03b02d6 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -2005,14 +2005,6 @@ start_all_aps(u_int boot_addr) SLIST_INSERT_HEAD(&cpuhead, gd, gd_allcpu); gd->gd_cpuid = x; gd->gd_cpu_lockid = x << 24; - gd->gd_prv_CMAP1 = &SMPpt[pg + 1]; - gd->gd_prv_CMAP2 = &SMPpt[pg + 2]; - gd->gd_prv_CMAP3 = &SMPpt[pg + 3]; - gd->gd_prv_PMAP1 = &SMPpt[pg + 4]; - gd->gd_prv_CADDR1 = SMP_prvspace[x].CPAGE1; - gd->gd_prv_CADDR2 = SMP_prvspace[x].CPAGE2; - gd->gd_prv_CADDR3 = SMP_prvspace[x].CPAGE3; - gd->gd_prv_PADDR1 = (unsigned *)SMP_prvspace[x].PPAGE1; /* setup a vector to our boot code */ *((volatile u_short *) WARMBOOT_OFF) = WARMBOOT_TARGET; |