<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/asm-generic/emergency-restart.h, branch v3.10-rc5</title>
<subtitle>Linux Kernel (branches are rebased on master from time to time)</subtitle>
<id>https://sre.ring0.de/linux/atom?h=v3.10-rc5</id>
<link rel='self' href='https://sre.ring0.de/linux/atom?h=v3.10-rc5'/>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/'/>
<updated>2005-07-26T21:35:41Z</updated>
<entry>
<title>[PATCH] Add emergency_restart()</title>
<updated>2005-07-26T21:35:41Z</updated>
<author>
<name>Eric W. Biederman</name>
<email>ebiederm@xmission.com</email>
</author>
<published>2005-07-26T17:29:55Z</published>
<link rel='alternate' type='text/html' href='https://sre.ring0.de/linux/commit/?id=7c9034735eccbf82608a4602c59aaf6053ea9416'/>
<id>urn:sha1:7c9034735eccbf82608a4602c59aaf6053ea9416</id>
<content type='text'>
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 &lt;ebiederm@xmission.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
