diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 14:17:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 14:17:05 -0400 |
commit | 79c4581262e225a7c96d88b632b05ab3b5e9a52c (patch) | |
tree | 8ef030c74ab7e0d0df27cf86195f915efd2832f7 /arch/powerpc/kernel/rtas.c | |
parent | 59534f7298c5e28aaa64e6ed550e247f64ee72ae (diff) | |
parent | 99ec28f183daa450faa7bdad6f932364ae325648 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (92 commits)
powerpc: Remove unused 'protect4gb' boot parameter
powerpc: Build-in e1000e for pseries & ppc64_defconfig
powerpc/pseries: Make request_ras_irqs() available to other pseries code
powerpc/numa: Use ibm,architecture-vec-5 to detect form 1 affinity
powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim
powerpc: Use smt_snooze_delay=-1 to always busy loop
powerpc: Remove check of ibm,smt-snooze-delay OF property
powerpc/kdump: Fix race in kdump shutdown
powerpc/kexec: Fix race in kexec shutdown
powerpc/kexec: Speedup kexec hash PTE tear down
powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
powerpc: Use more accurate limit for first segment memory allocations
powerpc/kdump: Use chip->shutdown to disable IRQs
powerpc/kdump: CPUs assume the context of the oopsing CPU
powerpc/crashdump: Do not fail on NULL pointer dereferencing
powerpc/eeh: Fix oops when probing in early boot
powerpc/pci: Check devices status property when scanning OF tree
powerpc/vio: Switch VIO Bus PM to use generic helpers
powerpc: Avoid bad relocations in iSeries code
powerpc: Use common cpu_die (fixes SMP+SUSPEND build)
...
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 74367841615a..0e1ec6f746f6 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -691,10 +691,14 @@ void rtas_os_term(char *str) | |||
691 | { | 691 | { |
692 | int status; | 692 | int status; |
693 | 693 | ||
694 | if (panic_timeout) | 694 | /* |
695 | return; | 695 | * Firmware with the ibm,extended-os-term property is guaranteed |
696 | 696 | * to always return from an ibm,os-term call. Earlier versions without | |
697 | if (RTAS_UNKNOWN_SERVICE == rtas_token("ibm,os-term")) | 697 | * this property may terminate the partition which we want to avoid |
698 | * since it interferes with panic_timeout. | ||
699 | */ | ||
700 | if (RTAS_UNKNOWN_SERVICE == rtas_token("ibm,os-term") || | ||
701 | RTAS_UNKNOWN_SERVICE == rtas_token("ibm,extended-os-term")) | ||
698 | return; | 702 | return; |
699 | 703 | ||
700 | snprintf(rtas_os_term_buf, 2048, "OS panic: %s", str); | 704 | snprintf(rtas_os_term_buf, 2048, "OS panic: %s", str); |
@@ -705,8 +709,7 @@ void rtas_os_term(char *str) | |||
705 | } while (rtas_busy_delay(status)); | 709 | } while (rtas_busy_delay(status)); |
706 | 710 | ||
707 | if (status != 0) | 711 | if (status != 0) |
708 | printk(KERN_EMERG "ibm,os-term call failed %d\n", | 712 | printk(KERN_EMERG "ibm,os-term call failed %d\n", status); |
709 | status); | ||
710 | } | 713 | } |
711 | 714 | ||
712 | static int ibm_suspend_me_token = RTAS_UNKNOWN_SERVICE; | 715 | static int ibm_suspend_me_token = RTAS_UNKNOWN_SERVICE; |