diff options
author | 2004-10-02 21:28:54 +0000 | |
---|---|---|
committer | 2004-10-02 21:28:54 +0000 | |
commit | 3db10a377a1dee611c725dd44fc577e6edbafbaa (patch) | |
tree | 8558cd3b290134f4fe542d0807bbf09bbef41a9c | |
parent | Too much dust on these files, it's time for them to leave the building. (diff) | |
download | wireguard-openbsd-3db10a377a1dee611c725dd44fc577e6edbafbaa.tar.xz wireguard-openbsd-3db10a377a1dee611c725dd44fc577e6edbafbaa.zip |
Associate ipl levels to clock and statclock coconuts.
-rw-r--r-- | sys/arch/hp300/hp300/clock.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/hp300/hp300/clock.c b/sys/arch/hp300/hp300/clock.c index 98924b79f04..47464d05773 100644 --- a/sys/arch/hp300/hp300/clock.c +++ b/sys/arch/hp300/hp300/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.10 2004/09/29 07:35:54 miod Exp $ */ +/* $OpenBSD: clock.c,v 1.11 2004/10/02 21:28:54 miod Exp $ */ /* $NetBSD: clock.c,v 1.20 1997/04/27 20:43:38 thorpej Exp $ */ /* @@ -99,6 +99,8 @@ void read_bbc(void); u_char read_bbc_reg(int); u_char write_bbc_reg(int, u_int); +static int clock_ipl = IPL_CLOCK; +static int stat_ipl = IPL_STATCLOCK; struct evcount clockcnt; struct evcount statcnt; @@ -251,8 +253,8 @@ cpu_initclocks() timer3min = statmin; statprev = statint; - evcount_attach(&statcnt, "stat", NULL, &evcount_intr); - evcount_attach(&clockcnt, "clock", NULL, &evcount_intr); + evcount_attach(&statcnt, "stat", &stat_ipl, &evcount_intr); + evcount_attach(&clockcnt, "clock", &clock_ipl, &evcount_intr); /* finally, load hardware */ clk->clk_cr2 = CLK_CR1; |