summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/uts/sun4v/os/mach_cpu_states.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/usr/src/uts/sun4v/os/mach_cpu_states.c b/usr/src/uts/sun4v/os/mach_cpu_states.c
index ffb234c15e..120bebb599 100644
--- a/usr/src/uts/sun4v/os/mach_cpu_states.c
+++ b/usr/src/uts/sun4v/os/mach_cpu_states.c
@@ -198,15 +198,16 @@ mdboot(int cmd, int fcn, char *bootstr, boolean_t invoke_cb)
break;
}
}
- }
- /*
- * If LDoms is running, we must save the boot string before we
- * enter restricted mode. This is possible only if we are not
- * being called from panic.
- */
- if (domaining_enabled() && invoke_cb)
- store_boot_cmd(bootstr);
+ /*
+ * If LDoms is running, we must save the boot string
+ * before we enter restricted mode. This is possible
+ * only if we are not being called from panic.
+ */
+ if (domaining_enabled() && invoke_cb)
+ store_boot_cmd(bootstr);
+
+ }
/*
* At a high interrupt level we can't: