summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/sparc/sparc/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/clock.c b/sys/arch/sparc/sparc/clock.c
index 7fa101c7b01..11fccb4e40e 100644
--- a/sys/arch/sparc/sparc/clock.c
+++ b/sys/arch/sparc/sparc/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.33 2015/09/19 21:07:04 semarie Exp $ */
+/* $OpenBSD: clock.c,v 1.34 2016/01/19 17:57:07 ajacoutot Exp $ */
/* $NetBSD: clock.c,v 1.52 1997/05/24 20:16:05 pk Exp $ */
/*
@@ -800,7 +800,7 @@ forward:
* XXX Clock interrupts are enabled (and therefore serviceable)
* XXX before initclocks() has completed.
*/
- if (cold == 0)
+ if (profhz != 0)
hardclock((struct clockframe *)cap);
return (1);