summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-10-19 15:29:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-10-19 15:29:23 +0000
commitf3a9569f09cb11fc25be17446b7ef93cd358fd20 (patch)
treed859168ddc1ae2deedebc20ca9cf6420c903120a /sys/arch/sparc64
parentdf6f5c659c5b311d818760cb1978e4bd539932f0 (diff)
Don't use "counter-timer" as clock interrupt source on MULTIPROCESSOR kernels
for now.
Diffstat (limited to 'sys/arch/sparc64')
-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);
}