Loading drivers/tty/sysrq.c +6 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,12 @@ static void sysrq_handle_crash(int key) { char *killer = NULL; /* we need to release the RCU read lock here, * otherwise we get an annoying * 'BUG: sleeping function called from invalid context' * complaint from the kernel before the panic. */ rcu_read_unlock(); panic_on_oops = 1; /* force panic */ wmb(); *killer = 1; Loading Loading
drivers/tty/sysrq.c +6 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,12 @@ static void sysrq_handle_crash(int key) { char *killer = NULL; /* we need to release the RCU read lock here, * otherwise we get an annoying * 'BUG: sleeping function called from invalid context' * complaint from the kernel before the panic. */ rcu_read_unlock(); panic_on_oops = 1; /* force panic */ wmb(); *killer = 1; Loading