summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/cpr/cpr_mod.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/uts/common/cpr/cpr_mod.c b/usr/src/uts/common/cpr/cpr_mod.c
index 1b26cf38f1..901d21bceb 100644
--- a/usr/src/uts/common/cpr/cpr_mod.c
+++ b/usr/src/uts/common/cpr/cpr_mod.c
@@ -23,8 +23,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* System call to checkpoint and resume the currently running kernel
*/
@@ -341,11 +339,15 @@ cpr(int fcn, void *mdep)
return (ENOTSUP);
}
- if (!i_cpr_is_supported(cpr_sleeptype) ||
- (cpr_sleeptype == CPR_TODISK &&
- !cpr_is_ufs(rootvfs)&& !cpr_is_zfs(rootvfs)))
+ if (!i_cpr_is_supported(cpr_sleeptype))
return (ENOTSUP);
+#if defined(__sparc)
+ if ((cpr_sleeptype == CPR_TODISK &&
+ !cpr_is_ufs(rootvfs) && !cpr_is_zfs(rootvfs)))
+ return (ENOTSUP);
+#endif
+
if (fcn == AD_CHECK_SUSPEND_TO_RAM ||
fcn == DEV_CHECK_SUSPEND_TO_RAM) {
ASSERT(i_cpr_is_supported(cpr_sleeptype));