changeset 10664:e29b5b8a591c

6883623 System should not try to fastreboot after fatal or uncorrected hardware error.
author Adrian Frost <Adrian.Frost@Sun.COM>
date Mon, 28 Sep 2009 00:35:43 -0700
parents 4d59e1faf654
children 026530b2b10e
files usr/src/uts/common/os/fm.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/os/fm.c	Mon Sep 28 14:30:40 2009 +0800
+++ b/usr/src/uts/common/os/fm.c	Mon Sep 28 00:35:43 2009 -0700
@@ -94,6 +94,8 @@
 static size_t ereport_size = 0;
 static int ereport_cols = 80;
 
+extern void fastreboot_disable_highpil(void);
+
 /*
  * Common fault management kstats to record ereport generation
  * failures
@@ -374,6 +376,9 @@
 	va_list ap;
 
 	(void) casptr((void *)&fm_panicstr, NULL, (void *)format);
+#if defined(__i386) || defined(__amd64)
+	fastreboot_disable_highpil();
+#endif /* __i386 || __amd64 */
 	va_start(ap, format);
 	vpanic(format, ap);
 	va_end(ap);