diff options
author | peter <peter@FreeBSD.org> | 2003-11-17 06:10:15 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-11-17 06:10:15 +0000 |
commit | d29883b254f7a8b1b5b751f0d467645a6c461fe0 (patch) | |
tree | 6fae035b125c53553249840422744326487137e4 /sys/alpha/isa | |
parent | 38ebd79a92378dac00a8e0c47929a4b05dafe8c4 (diff) | |
download | FreeBSD-src-d29883b254f7a8b1b5b751f0d467645a6c461fe0.zip FreeBSD-src-d29883b254f7a8b1b5b751f0d467645a6c461fe0.tar.gz |
Widen the enable/disable helper function's argument in line with the
ithread_create() changes etc. This should be mostly a NOP.
Diffstat (limited to 'sys/alpha/isa')
-rw-r--r-- | sys/alpha/isa/isa.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/alpha/isa/isa.c b/sys/alpha/isa/isa.c index aa37264..f2054e7 100644 --- a/sys/alpha/isa/isa.c +++ b/sys/alpha/isa/isa.c @@ -310,10 +310,11 @@ isa_handle_intr(void *arg) */ static void -isa_disable_intr(int vector) +isa_disable_intr(uintptr_t vector) { - int irq = (vector - 0x800) >> 4; + int irq; + irq = (vector - 0x800) >> 4; mtx_lock_spin(&icu_lock); if (irq > 7) outb(IO_ICU2, 0x20 | (irq & 7)); @@ -324,7 +325,7 @@ isa_disable_intr(int vector) } static void -isa_enable_intr(int vector) +isa_enable_intr(uintptr_t vector) { int irq; |