diff options
| author | Kip Macy <kmacy@FreeBSD.org> | 2007-05-25 01:55:51 +0000 |
|---|---|---|
| committer | Kip Macy <kmacy@FreeBSD.org> | 2007-05-25 01:55:51 +0000 |
| commit | fdd54a53de43774874b7d1db17811a530c28fa76 (patch) | |
| tree | dfd267cb66448bc62ced1f87f8f1d0e3fb12a768 | |
| parent | 7275e4bf4dd0c5a957cf23993a5ec6dc195c76d2 (diff) | |
Notes
| -rw-r--r-- | sys/sun4v/sun4v/machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sun4v/sun4v/machdep.c b/sys/sun4v/sun4v/machdep.c index 0be2269af608..728a5039447a 100644 --- a/sys/sun4v/sun4v/machdep.c +++ b/sys/sun4v/sun4v/machdep.c @@ -421,8 +421,6 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec) freeenv(env); } - - /* * Initialize global registers. * needed for curthread to work @@ -467,7 +465,7 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec) */ BVPRINTF("initialize trap tables\n"); - mmfsa = mmu_fault_status_area + (MMFSA_SIZE*curcpu); + mmfsa = mmu_fault_status_area + MMFSA_SIZE; BVPRINTF("setwstate\n"); set_wstate(WSTATE_KERN); BVPRINTF("set_mmfsa_scratchpad\n"); |
