Skip to content

Commit

Permalink
[POWERPC] reboot when panic_timout is set
Browse files Browse the repository at this point in the history
Only call into RTAS when booted with panic=0 because the RTAS call
does not return.  The system has to be rebooted via the HMC or via the
management console right now.  This is cumbersome and not what the
default panic=180 is supposed to do.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Olaf Hering authored and Paul Mackerras committed Aug 25, 2006
1 parent e2bf2e2 commit 39ed2fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/powerpc/kernel/rtas.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,9 @@ void rtas_os_term(char *str)
{
int status;

if (panic_timeout)
return;

if (RTAS_UNKNOWN_SERVICE == rtas_token("ibm,os-term"))
return;

Expand Down

0 comments on commit 39ed2fe

Please sign in to comment.