Correct evcount_attach argument on cbus(4).
authoraoyama <aoyama@openbsd.org>
Wed, 31 Dec 2014 11:38:27 +0000 (11:38 +0000)
committeraoyama <aoyama@openbsd.org>
Wed, 31 Dec 2014 11:38:27 +0000 (11:38 +0000)
commitce6d8da45f5b362ef1faec4535a79687eaa8590e
tree3d9dc5d477e65b919700b7c088d50cb5882eb8d0
parent231aaf50338a2ea26febc21483e4132093bc135f
Correct evcount_attach argument on cbus(4).

The third argument of evcount_attach() should point some permanent
variable, not an automatic variable.  Now "vmstat -i" correctly prints
C-bus interrupt level number as irq, on C-bus devices.

ok miod@
sys/arch/luna88k/cbus/cbus.c
sys/arch/luna88k/cbus/cbusvar.h