--- //depot/vendor/freebsd_7/src/sys/amd64/amd64/mp_machdep.c 2007/11/28 16:37:28 +++ //depot/yahoo/ybsd_7/src/sys/amd64/amd64/mp_machdep.c 2008/02/28 04:37:34 @@ -105,6 +105,8 @@ /* SMP page table page */ extern pt_entry_t *SMPpt; +extern int _udatasel; + struct pcb stoppcbs[MAXCPU]; /* Variables needed for SMP tlb shootdown. */ @@ -576,7 +578,9 @@ */ load_cr4(rcr4() | CR4_PGE); - + load_ds(_udatasel); + load_es(_udatasel); + load_fs(_udatasel); mtx_unlock_spin(&ap_boot_mtx); /* wait until all the AP's are up */