Hi,Jiri:
get_irq_regs() in the softirq context return NULL.
thanks,
Jibin Xu
On 2017年09月11日 13:24, Jiri Slaby wrote:
On 09/11/2017, 05:11 AM, Jibin Xu wrote:
...
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
@@ -245,8 +245,10 @@ static void sysrq_handle_showallcpus(int key
situation,kernel will
print the call trace. Since many prior discussions on
the mailing lists have made it clear that get_irq_regs
either just returns NULL or stale data when used outside
of IRQ context,we simply avoid calling it outside of
IRQ context.
Signed-off-by: Jibin Xu
---
drivers/tty/sy
2 matches
Mail list logo