sysrq: temporarily disable showing stacks of active CPUs [1/1]

PD#SWPL-7711

Problem:
echo l > /proc/sysrq-trigger leading to kernel crash and
lockup

Solution:
temporarily disable showing stacks of active CPUs

Verify:
U200

Change-Id: Id7f19425d754d9249b3999189dd257f8b30bae2d
Signed-off-by: Jiamin Ma <jiamin.ma@amlogic.com>
This commit is contained in:
Jiamin Ma
2019-04-25 09:39:09 +08:00
committed by Jianxin Pan
parent dd40cac611
commit 15c998e5d6

View File

@@ -257,6 +257,13 @@ static DECLARE_WORK(sysrq_showallcpus, sysrq_showregs_othercpus);
static void sysrq_handle_showallcpus(int key)
{
/*
* Temporarily disable this function
* Remove it later
*/
#ifdef CONFIG_AMLOGIC_MODIFY
return;
#endif
/*
* Fall back to the workqueue based printing if the
* backtrace printing did not succeed or the