powerpc: Call check_if_tm_restore_required() in enable_kernel_*()
authorAnton Blanchard <anton@samba.org>
Thu, 10 Dec 2015 09:04:05 +0000 (20:04 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Dec 2015 09:10:53 +0000 (20:10 +1100)
commitd64d02ce4ebaa79bf1c026e81a956f133938af65
treebd039c457421b00f2d3d6aa6bead6199f594e413
parentd1e1cf2e38def301fde42c1a33f896f974941d7b
powerpc: Call check_if_tm_restore_required() in enable_kernel_*()

Commit a0e72cf12b1a ("powerpc: Create msr_check_and_{set,clear}()")
removed a call to check_if_tm_restore_required() in the
enable_kernel_*() functions. Add them back in.

Fixes: a0e72cf12b1a ("powerpc: Create msr_check_and_{set,clear}()")
Reported-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c