lockup_detector: Introduce CONFIG_HARDLOCKUP_DETECTOR
authorFrederic Weisbecker <fweisbec@gmail.com>
Sat, 15 May 2010 21:15:20 +0000 (23:15 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Sat, 15 May 2010 23:57:42 +0000 (01:57 +0200)
commit23637d477c1f53acbb176a02c241d60a25888fae
tree6d2e9e4a9f6fa2428e0ace29cf764212b823598a
parentc01d4323309a90a298fd81cf3a059ee1b12be2e9
lockup_detector: Introduce CONFIG_HARDLOCKUP_DETECTOR

This new config is deemed to simplify even more the lockup detector
dependencies and can make it easier to bring a smooth sorting
between archs that support the new generic lockup detector and those
that still have their own, especially for those that are in the
middle of this migration.

Instead of checking whether we have CONFIG_LOCKUP_DETECTOR +
CONFIG_PERF_EVENTS_NMI each time an arch wants to know if it needs
to build its own lockup detector, take a shortcut with this new
config. It is enabled only if the hardlockup detection part of
the whole lockup detector is on.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
arch/Kconfig
init/Kconfig
kernel/watchdog.c
lib/Kconfig.debug