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>
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
* architecture has no support for it: