]> Git Repo - linux.git/commit
watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH
authorPetr Mladek <[email protected]>
Fri, 16 Jun 2023 15:06:18 +0000 (17:06 +0200)
committerAndrew Morton <[email protected]>
Mon, 19 Jun 2023 23:25:29 +0000 (16:25 -0700)
commit7ca8fe94aa92d9adcd7dcdf64371fc78eb2da3f9
tree912884c94724c9a17f794a50edf952cbe24f57dc
parent47f4cb433923a08d81f1e5c065cb680215109db9
watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH

The HAVE_ prefix means that the code could be enabled. Add another
variable for HAVE_HARDLOCKUP_DETECTOR_ARCH without this prefix.
It will be set when it should be built. It will make it compatible
with the other hardlockup detectors.

The change allows to clean up dependencies of PPC_WATCHDOG
and HAVE_HARDLOCKUP_DETECTOR_PERF definitions for powerpc.

As a result HAVE_HARDLOCKUP_DETECTOR_PERF has the same dependencies
on arm, x86, powerpc architectures.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
arch/powerpc/Kconfig
include/linux/nmi.h
lib/Kconfig.debug
This page took 0.064839 seconds and 4 git commands to generate.