mirror of https://github.com/torvalds/linux.git
die executes holding the spinlock of &die.lock and unlock
it after printing the oops message.
However in the code if the notify_die() returns NOTIFY_STOP
, die() exit with returning 1 but never unlocked the spinlock.
Fix this by adding spin_unlock_irq(&die.lock) before returning.
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| Makefile.syscalls | ||
| asm-offsets.c | ||
| dma.c | ||
| head.S | ||
| hexagon_ksyms.c | ||
| irq_cpu.c | ||
| kgdb.c | ||
| module.c | ||
| process.c | ||
| ptrace.c | ||
| reset.c | ||
| setup.c | ||
| signal.c | ||
| smp.c | ||
| stacktrace.c | ||
| syscalltab.c | ||
| time.c | ||
| trampoline.S | ||
| traps.c | ||
| vdso.c | ||
| vm_entry.S | ||
| vm_events.c | ||
| vm_init_segtable.S | ||
| vm_ops.S | ||
| vm_switch.S | ||
| vm_vectors.S | ||
| vmlinux.lds.S | ||