Aaron Tomlin f3aca3d095 nmi: provide the option to issue an NMI back trace to every cpu but current
Sometimes it is preferred not to use the trigger_all_cpu_backtrace()
routine when one wants to avoid capturing a back trace for current.  For
instance if one was previously captured recently.

This patch provides a new routine namely
trigger_allbutself_cpu_backtrace() which offers the flexibility to issue
an NMI to every cpu but current and capture a back trace accordingly.

Patch x86 and sparc to support new routine.

[dzickus@redhat.com: add stub in #else clause]
[dzickus@redhat.com: don't print message in single processor case, wrap with get/put_cpu based on Oleg's suggestion]
[sfr@canb.auug.org.au: undo C99ism]
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-06-23 16:47:44 -07:00
..
2008-07-27 23:00:59 +02:00
2008-12-09 00:50:13 -08:00
2014-04-18 14:20:44 +02:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2014-04-29 01:12:25 -04:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-08-31 20:56:15 -07:00
2012-03-28 18:30:03 +01:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2013-03-20 11:06:54 -07:00
2008-07-27 23:00:59 +02:00
2011-05-12 13:44:29 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-05-15 10:22:00 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-03-28 18:30:03 +01:00
2012-05-14 14:05:07 -07:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2014-05-02 01:30:20 -04:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-04-15 10:28:50 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2014-05-03 22:31:52 -07:00
2008-07-27 23:00:59 +02:00
2008-07-27 23:00:59 +02:00
2012-07-26 16:46:16 -07:00
2008-07-27 23:00:59 +02:00