powerpc: Clean up tm_abort duplication in hash_utils_64.c
authorRui Teng <rui.teng@linux.vnet.ibm.com>
Fri, 2 Sep 2016 06:17:26 +0000 (14:17 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Sep 2016 21:54:23 +0000 (07:54 +1000)
commitf1a55ce0544251746d9b52fb85ad32f31a43fbd2
tree0dca3cc73af0533ca99e7a628de32baf5463e161
parent6060e9ea8d2b69fff8fc70ed6a1df242224dc197
powerpc: Clean up tm_abort duplication in hash_utils_64.c

The same logic appears twice and should probably be pulled out into a
function.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Rui Teng <rui.teng@linux.vnet.ibm.com>
[mpe: Rename to tm_flush_hash_page() and move comment into the function]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c