x86: Move trigger_all_cpu_backtrace to its own die_notifier
authorDon Zickus <dzickus@redhat.com>
Fri, 7 May 2010 21:11:48 +0000 (17:11 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 12 May 2010 21:55:47 +0000 (23:55 +0200)
commit7cbb7e7fa46f6e5229438ac9e4a5c72ec0d53e0b
tree6caea91476f1cf24dffc23822bcaf1b0b45b451e
parentf69bcf60c3f17aa367e16eef7bc6ab001ea6d58a
x86: Move trigger_all_cpu_backtrace to its own die_notifier

As part of the transition of the nmi watchdog to something more
generic, the trigger_all_cpu_backtrace code is getting left behind.
Put it in its own die_notifier so it can still be used.

V2:
- use arch_spin_locks

Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
LKML-Reference: <1273266711-18706-6-git-send-email-dzickus@redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
arch/x86/kernel/apic/hw_nmi.c