mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user