]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r214528
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 7 Nov 2010 17:50:54 +0000 (17:50 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 7 Nov 2010 17:50:54 +0000 (17:50 +0000)
commit1e3fecc9d26d4cac101c908518afaee99c757413
tree2954c7499de63e0c4bf694a31febd2afb8f06167
parenta27702fb5da59f11262272a9c61ef1456bcd34f1
MFC: r214528

- When resetting pm_active and pm_context of a pmap in pmap_pinit() we
  need locking as otherwise we may race against the other parts of the
  MD code which expects a consistent state of these. While at it move
  the resetting of the pmap before entering it in the TSB.
- Spell a 0 as TLB_CTX_KERNEL.

git-svn-id: svn://svn.freebsd.org/base/stable/8@214931 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sparc64/sparc64/pmap.c