diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-09-29 13:54:04 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-09-29 13:54:04 +0000 |
commit | ff916b2fd23cde2528fa7a671d6d310e643624ec (patch) | |
tree | ae826b192b56963b84faf99db05800b91fbb651c /sys/arch/sparc | |
parent | ac72e32e2f40e68513bf104188659e7983b2c846 (diff) |
some SUN4* ifdefs
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/clock.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/clock.c b/sys/arch/sparc/sparc/clock.c index 9fe1d2ffedf..dbf34309535 100644 --- a/sys/arch/sparc/sparc/clock.c +++ b/sys/arch/sparc/sparc/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.12 1999/07/09 21:40:20 art Exp $ */ +/* $OpenBSD: clock.c,v 1.13 1999/09/29 13:54:03 art Exp $ */ /* $NetBSD: clock.c,v 1.52 1997/05/24 20:16:05 pk Exp $ */ /* @@ -710,14 +710,17 @@ clockintr(cap) goto forward; } #endif +#if defined(SUN4M) /* read the limit register to clear the interrupt */ if (CPU_ISSUN4M) { discard = timerreg_4m->t_limit; } - +#endif +#if defined(SUN4) || defined(SUN4C) if (CPU_ISSUN4OR4C) { discard = timerreg4->t_c10.t_limit; } +#endif #if defined(SUN4) forward: #endif |