]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Fix loop termination in mark_kpte_bitmap()
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 6 Mar 2006 06:18:50 +0000 (22:18 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:14:19 +0000 (01:14 -0800)
commit932f4931c3ca58125b0e021c66a6f12ce7850f77
tree3fc55d603a0c59aa8a4db63e4acc63b26170b7cb
parent91d1c57597df3571803a267c138208eb35063003
[SPARC64]: Fix loop termination in mark_kpte_bitmap()

If we were aligned, but didn't have at least 256MB left
to process, we would loop forever.

Thanks to fabbione for the report and testing the fix.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/mm/init.c