diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-16 02:48:41 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-16 02:48:41 +0000 |
commit | 3725fbb09bcf70557774be9e6726ea2cbdc9cf7d (patch) | |
tree | 2d077254ad69786581e2183286bca389392d8bf1 /sys/arch/hppa/dev | |
parent | b446ebd37f35118779c1684f7f8824dd86fcb2c4 (diff) |
evcnt count the interrupts, also optimize diagnostic printing
Diffstat (limited to 'sys/arch/hppa/dev')
-rw-r--r-- | sys/arch/hppa/dev/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/cpu.c b/sys/arch/hppa/dev/cpu.c index ef21842ccbf..3377dc14afc 100644 --- a/sys/arch/hppa/dev/cpu.c +++ b/sys/arch/hppa/dev/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.4 1999/08/14 03:58:55 mickey Exp $ */ +/* $OpenBSD: cpu.c,v 1.5 1999/08/16 02:48:39 mickey Exp $ */ /* * Copyright (c) 1998,1999 Michael Shalayeff @@ -163,7 +163,7 @@ cpuattach(parent, self, aux) if (ca->ca_irq == 31) { sc->sc_ih = cpu_intr_establish(IPL_CLOCK, ca->ca_irq, clock_intr, NULL /*trapframe*/, - sc->sc_dev.dv_xname); + &sc->sc_dev); } else { printf ("%s: bad irq number %d\n", sc->sc_dev.dv_xname, ca->ca_irq); |