ANDROID: arm64: smp: fix Lockdep warning: RCU used illegally from idle CPU.
This problem will happened if handle_IPI is called from idle CPU. Use trace_android_vh_ipi_stop_rcuidle() to fix this issue Bug: 171683158 Change-Id: Ic49fc1ddc19a54415dec3f28b68f42fa258ffeea Signed-off-by: Cheng Jui Wang <cheng-jui.wang@mediatek.com> Signed-off-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
This commit is contained in:
parent
7a0b784363
commit
ee9ce093d6
@ -901,7 +901,7 @@ void handle_IPI(int ipinr, struct pt_regs *regs)
|
||||
break;
|
||||
|
||||
case IPI_CPU_STOP:
|
||||
trace_android_vh_ipi_stop(regs);
|
||||
trace_android_vh_ipi_stop_rcuidle(regs);
|
||||
irq_enter();
|
||||
local_cpu_stop();
|
||||
irq_exit();
|
||||
|
Loading…
Reference in New Issue
Block a user