android_kernel_xiaomi_sm8350/include
Eric W. Biederman 7c9034735e [PATCH] Add emergency_restart()
When the kernel is working well and we want to restart cleanly
kernel_restart is the function to use.   But in many instances
the kernel wants to reboot when thing are expected to be working
very badly such as from panic or a software watchdog handler.

This patch adds the function emergency_restart() so that
callers can be clear what semantics they expect when calling
restart.  emergency_restart() is expected to be callable
from interrupt context and possibly reliable in even more
trying circumstances.

This is an initial generic implementation for all architectures.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-26 14:35:41 -07:00
..
acpi [ACPI] merge acpi-2.6.12 branch into latest Linux 2.6.13-rc... 2005-07-12 17:21:56 -04:00
asm-alpha [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-arm [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-arm26 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-cris [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-frv [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-generic [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-h8300 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-i386 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-ia64 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-m32r [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-m68k [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-m68knommu [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-mips [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-parisc [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-ppc [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-ppc64 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-s390 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-sh [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-sh64 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-sparc [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-sparc64 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-um [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-v850 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-x86_64 [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
asm-xtensa [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
linux [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
math-emu
media [PATCH] v4l: I2C Tuner 2005-07-12 16:01:06 -07:00
mtd
net [NET]: Make ipip/ip6_tunnel independant of XFRM 2005-07-19 14:03:34 -07:00
pcmcia [PATCH] pcmcia: fix pcmcia-cs compilation 2005-07-12 16:00:59 -07:00
rxrpc
scsi [SCSI] fix function prototype warning 2005-07-14 11:54:17 -05:00
sound
video