powerpc/32s: fix flush_hash_pages() on SMP
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 9 May 2019 12:59:38 +0000 (12:59 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 14 May 2019 12:58:52 +0000 (22:58 +1000)
commit397d2300b08cdee052053e362018cdb6dd65eea2
treea6b19243288049b2e4dbda73bb7f3692bf1ba9de
parentb970afcfcabd63cd3832e95db096439c177c3592
powerpc/32s: fix flush_hash_pages() on SMP

flush_hash_pages() runs with data translation off, so current
task_struct has to be accesssed using physical address.

Fixes: f7354ccac844 ("powerpc/32: Remove CURRENT_THREAD_INFO and rename TI_CPU")
Cc: stable@vger.kernel.org # v5.1+
Reported-by: Erhard F. <erhard_f@mailbox.org>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/book3s32/hash_low.S