powerpc/64s: Minor fix for MCE TLB flush for radix
authorNicholas Piggin <npiggin@gmail.com>
Sun, 16 Apr 2017 14:21:19 +0000 (00:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Apr 2017 10:00:18 +0000 (20:00 +1000)
commit95dbdf4fa09823e35b29eab8f7093984daa6a913
tree0601fe3557287469c99cd62573a846bb62077212
parentbe77e999e3937322b7e15274b8fc7da309a040a0
powerpc/64s: Minor fix for MCE TLB flush for radix

The TLB flush for radix first flushes TLB for radix configuration,
then flushes for hash configuration. The second flush is unnecessary
but does not affect correctness.

Fixes: 1a472c9dba6b9 ("powerpc/mm/radix: Add tlbflush routines")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/mce_power.c