diff options
author | peter <peter@FreeBSD.org> | 2003-11-17 06:08:10 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-11-17 06:08:10 +0000 |
commit | 38ebd79a92378dac00a8e0c47929a4b05dafe8c4 (patch) | |
tree | b207e3997cb5f553a4f230ff216cf3043d19cce7 /sys/kern/kern_intr.c | |
parent | 69f4b4a52058d1df6cd90f7309848b41087e74b0 (diff) | |
download | FreeBSD-src-38ebd79a92378dac00a8e0c47929a4b05dafe8c4.zip FreeBSD-src-38ebd79a92378dac00a8e0c47929a4b05dafe8c4.tar.gz |
Expand the argument to the ithread enable/disable helper hooks from an
int to something big enough to hold a pointer. amd64 needs this.
Diffstat (limited to 'sys/kern/kern_intr.c')
-rw-r--r-- | sys/kern/kern_intr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c index 0e05df8..e42cd10 100644 --- a/sys/kern/kern_intr.c +++ b/sys/kern/kern_intr.c @@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$"); struct int_entropy { struct proc *proc; - int vector; + uintptr_t vector; }; void *vm_ih; @@ -169,8 +169,8 @@ ithread_update(struct ithd *ithd) } int -ithread_create(struct ithd **ithread, int vector, int flags, - void (*disable)(int), void (*enable)(int), const char *fmt, ...) +ithread_create(struct ithd **ithread, uintptr_t vector, int flags, + void (*disable)(uintptr_t), void (*enable)(uintptr_t), const char *fmt, ...) { struct ithd *ithd; struct thread *td; |