diff options
author | Elliott Mitchell <ehem+freebsd@m5p.com> | 2024-05-09 23:04:35 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-05-09 23:14:38 +0000 |
commit | 9f3a552f9e1a7dbe707f143a8b8e0cdc00a8014e (patch) | |
tree | 8916455f94fa94cd286538884db274337c845cb3 /sys | |
parent | a9e0f316b3da4144c654cf77542bc5c51632e896 (diff) | |
download | src-9f3a552f9e1a7dbe707f143a8b8e0cdc00a8014e.tar.gz src-9f3a552f9e1a7dbe707f143a8b8e0cdc00a8014e.zip |
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_intr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/subr_intr.c b/sys/kern/subr_intr.c index 5958f9025b27..210989868415 100644 --- a/sys/kern/subr_intr.c +++ b/sys/kern/subr_intr.c @@ -149,7 +149,7 @@ static bool intr_ipi_dev_frozen; static struct mtx pic_list_lock; static SLIST_HEAD(, intr_pic) pic_list; -static struct intr_pic *pic_lookup(device_t dev, intptr_t xref, int flags); +static struct intr_pic *pic_lookup(device_t dev, intptr_t xref, u_int flags); /* Interrupt source definition. */ static struct mtx isrc_table_lock; @@ -744,7 +744,7 @@ isrc_add_handler(struct intr_irqsrc *isrc, const char *name, * Lookup interrupt controller locked. */ static inline struct intr_pic * -pic_lookup_locked(device_t dev, intptr_t xref, int flags) +pic_lookup_locked(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; @@ -775,7 +775,7 @@ pic_lookup_locked(device_t dev, intptr_t xref, int flags) * Lookup interrupt controller. */ static struct intr_pic * -pic_lookup(device_t dev, intptr_t xref, int flags) +pic_lookup(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; @@ -789,7 +789,7 @@ pic_lookup(device_t dev, intptr_t xref, int flags) * Create interrupt controller. */ static struct intr_pic * -pic_create(device_t dev, intptr_t xref, int flags) +pic_create(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; @@ -818,7 +818,7 @@ pic_create(device_t dev, intptr_t xref, int flags) * Destroy interrupt controller. */ static void -pic_destroy(device_t dev, intptr_t xref, int flags) +pic_destroy(device_t dev, intptr_t xref, u_int flags) { struct intr_pic *pic; |