]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use LIST_FOREACH_SAFE() instead of LIST_FOREACH() in pmap_remove(), since
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>
Wed, 14 Mar 2012 20:19:49 +0000 (20:19 +0000)
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>
Wed, 14 Mar 2012 20:19:49 +0000 (20:19 +0000)
commitcbfa30408880a83b45e0771774c3882a8a292b88
treeddadabd1bc0fe7f272d0168be9ee5ef48ca6c17e
parentc4b72ba19da3c4c7a3e52b649b94851921d85011
Use LIST_FOREACH_SAFE() instead of LIST_FOREACH() in pmap_remove(), since
the point of this loop is to remove elements. This worked by accident before.

MFC after: 2 days
sys/powerpc/aim/mmu_oea.c
sys/powerpc/aim/mmu_oea64.c