android_kernel_xiaomi_sm8350/arch/xtensa/kernel
Horms cea6a4ba8a [PATCH] panic_on_oops: remove ssleep()
This patch is part of an effort to unify the panic_on_oops behaviour across
all architectures that implement it.

It was pointed out to me by Andi Kleen that if an oops has occured in
interrupt context, then calling sleep() in the oops path will only cause a
panic, and that it would be really better for it not to be in the path at
all.

This patch removes the ssleep() call and reworks the console message
accordinly.  I have a slght concern that the resulting console message is
too long, feedback welcome.

For powerpc it also unifies the 32bit and 64bit behaviour.

Fror x86_64, this patch only updates the console message, as ssleep() is
already not present.

Signed-off-by: Horms <horms@verge.net.au>
Acked-by: Paul Mackerras <paulus@samba.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-07-31 13:28:39 -07:00
..
align.S
asm-offsets.c
coprocessor.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
entry.S
head.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
irq.c [PATCH] genirq: rename desc->handler to desc->chip 2006-06-29 10:26:21 -07:00
Makefile
module.c
pci-dma.c
pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
platform.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
process.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ptrace.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
semaphore.c
setup.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
signal.c
syscalls.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
syscalls.h
time.c [PATCH] irq-flags: XTENSA: Use the new IRQF_ constants 2006-07-02 13:58:49 -07:00
traps.c [PATCH] panic_on_oops: remove ssleep() 2006-07-31 13:28:39 -07:00
vectors.S
vmlinux.lds.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
xtensa_ksyms.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00