powerpc/rfi-flush: Move out of HARDLOCKUP_DETECTOR #ifdef
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 2 Jun 2018 11:08:46 +0000 (21:08 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Jun 2018 14:44:35 +0000 (16:44 +0200)
commit70e51fd51f00744dc9b7f017019da5d65bc32997
tree8e3c020fed78544a5195e2e51123104e41afd8f6
parentb1d57084b6a2572c5f648c83dbd31100e73a4653
powerpc/rfi-flush: Move out of HARDLOCKUP_DETECTOR #ifdef

The backport of the RFI flush support, done by me, has a minor bug in
that the code is inside an #ifdef CONFIG_HARDLOCKUP_DETECTOR, which is
incorrect.

This doesn't matter with common configs because we enable
HARDLOCKUP_DETECTOR, but with future patches it will break the build.
So fix it.

Fixes: c3b82ebee6e0 ("powerpc/64s: Add support for RFI flush of L1-D cache")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/setup_64.c