diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2016-12-31 15:07:08 +0000 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2017-03-30 19:29:02 +0100 |
commit | 2b1c4a606c0622c991920789d6ff00137ab041b6 (patch) | |
tree | 0afc6e0efb7459cd59503842c21a70c619a38896 | |
parent | 1b031cc733de73d394e31f8ae156a66bfaf8e5c7 (diff) |
hack: Allows SysRq-L to be used to test PMR pre-emption
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
-rw-r--r-- | lib/nmi_backtrace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index f0336e463c25..eeb85a77e687 100644 --- a/lib/nmi_backtrace.c +++ b/lib/nmi_backtrace.c @@ -51,6 +51,7 @@ void nmi_trigger_cpumask_backtrace(const cpumask_t *mask, if (exclude_self) cpumask_clear_cpu(this_cpu, to_cpumask(backtrace_mask)); +#if 0 /* * Don't try to send an NMI to this cpu; it may work on some * architectures, but on others it may not, and we'll get @@ -59,6 +60,7 @@ void nmi_trigger_cpumask_backtrace(const cpumask_t *mask, */ if (cpumask_test_cpu(this_cpu, to_cpumask(backtrace_mask))) nmi_cpu_backtrace(NULL); +#endif if (!cpumask_empty(to_cpumask(backtrace_mask))) { pr_info("Sending NMI from CPU %d to CPUs %*pbl:\n", |