diff options
author | attilio <attilio@FreeBSD.org> | 2011-09-19 18:29:15 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2011-09-19 18:29:15 +0000 |
commit | 420a3a3f8b180b80050cf413be2371b720f6948a (patch) | |
tree | ed5187a176a00dc21428aa889ad69cd4b88c4a62 /sys/sparc64/sparc64/machdep.c | |
parent | b20c15d80bd46b4ea80d385c984e6e79371a3d1a (diff) | |
download | FreeBSD-src-420a3a3f8b180b80050cf413be2371b720f6948a.zip FreeBSD-src-420a3a3f8b180b80050cf413be2371b720f6948a.tar.gz |
It is safe to initialize locks even on early boot (and it is the same
thing all the other architectures already do) thus just initialize
kernel_pmap in pmap_bootstrap().
Reported by: alc
Reviewed by: alc, marius
Tested by: flo, marius
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'sys/sparc64/sparc64/machdep.c')
-rw-r--r-- | sys/sparc64/sparc64/machdep.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c index 91d7416..c6252cd 100644 --- a/sys/sparc64/sparc64/machdep.c +++ b/sys/sparc64/sparc64/machdep.c @@ -597,11 +597,6 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec) wrpr(pil, 0, 0); wrpr(pstate, 0, PSTATE_KERNEL); - /* - * Finish pmap initialization now that we're ready for mutexes. - */ - PMAP_LOCK_INIT(kernel_pmap); - OF_getprop(root, "name", sparc64_model, sizeof(sparc64_model) - 1); kdb_init(); |