summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/clock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/clock.c b/sys/arch/sparc64/sparc64/clock.c
index e68c6e014f3..446cbb6e3b8 100644
--- a/sys/arch/sparc64/sparc64/clock.c
+++ b/sys/arch/sparc64/sparc64/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.34 2007/10/17 21:23:28 kettenis Exp $ */
+/* $OpenBSD: clock.c,v 1.35 2007/10/19 15:29:22 kettenis Exp $ */
/* $NetBSD: clock.c,v 1.41 2001/07/24 19:29:25 eeh Exp $ */
/*
@@ -441,11 +441,13 @@ timermatch(parent, cf, aux)
void *cf;
void *aux;
{
+#ifndef MULTIPROCESSOR
struct mainbus_attach_args *ma = aux;
if (!timerreg_4u.t_timer || !timerreg_4u.t_clrintr)
return (strcmp("counter-timer", ma->ma_name) == 0);
else
+#endif
return (0);
}