powerpc/swsusp_32: Fix TLB invalidation
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 30 Dec 2009 07:40:17 +0000 (07:40 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 Jan 2010 02:20:07 +0000 (13:20 +1100)
commite443ed35606cf921cbf9d6949010a5b36bbe747d
tree91839698bc14c32da9f191c41810067f0e5a1143
parent9f4f04ba2b117a5c741d019629d7ffccdc621122
powerpc/swsusp_32: Fix TLB invalidation

It seems there is a thinko in the TLB invalidation code that makes the
tlbie in the loop executed just once. The intended check was probably
'gt', not 'lt'.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/swsusp_32.S