summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/cpr/cpr_misc.c
diff options
context:
space:
mode:
authorTrevor Thompson <Trevor.Thompson@Sun.COM>2010-02-24 08:29:44 +0000
committerTrevor Thompson <Trevor.Thompson@Sun.COM>2010-02-24 08:29:44 +0000
commit8fc99e42676a23421c75e76660640f9765d693b1 (patch)
tree30d7a48022995f104d462a9b35944cf08a66338b /usr/src/uts/common/cpr/cpr_misc.c
parentd3b2efc749bec3b757d5f018cf78c9a09fa29cb3 (diff)
downloadillumos-gate-8fc99e42676a23421c75e76660640f9765d693b1.tar.gz
6737518 tod_validate() may miss register corruption
6785049 todm5819p_rmc driver can generate time reversals of min/hour/day/etc minus 1 second 6923851 Tidy up complaints from 'hg pbchk' regarding several files.
Diffstat (limited to 'usr/src/uts/common/cpr/cpr_misc.c')
-rw-r--r--usr/src/uts/common/cpr/cpr_misc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/uts/common/cpr/cpr_misc.c b/usr/src/uts/common/cpr/cpr_misc.c
index 5db0eaa49d..1c862cdfc0 100644
--- a/usr/src/uts/common/cpr/cpr_misc.c
+++ b/usr/src/uts/common/cpr/cpr_misc.c
@@ -19,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/errno.h>
#include <sys/cpuvar.h>
@@ -851,10 +849,10 @@ cpr_tod_get(cpr_time_t *ctp)
}
void
-cpr_tod_fault_reset(void)
+cpr_tod_status_set(int tod_flag)
{
mutex_enter(&tod_lock);
- tod_fault_reset();
+ tod_status_set(tod_flag);
mutex_exit(&tod_lock);
}