git: f7e7fab7bab1 - main - linuxkpi: Add xa_insert_irq wrapper
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jul 2026 18:00:54 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=f7e7fab7bab17bb20ef2b25b01cb46d84fb9e31b
commit f7e7fab7bab17bb20ef2b25b01cb46d84fb9e31b
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-07-31 18:00:38 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-07-31 18:00:38 +0000
linuxkpi: Add xa_insert_irq wrapper
This just invokes xa_insert similar to other xa_*_irq wrappers.
Reviewed by: bz
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D58576
---
sys/compat/linuxkpi/common/include/linux/xarray.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/xarray.h b/sys/compat/linuxkpi/common/include/linux/xarray.h
index b26aa6f0d13a..a5b53b923719 100644
--- a/sys/compat/linuxkpi/common/include/linux/xarray.h
+++ b/sys/compat/linuxkpi/common/include/linux/xarray.h
@@ -108,6 +108,9 @@ void *__xa_store(struct xarray *, uint32_t, void *, gfp_t);
bool __xa_empty(struct xarray *);
void *__xa_next(struct xarray *, unsigned long *, bool);
+#define xa_insert_irq(xa, index, ptr, gfp) \
+ xa_insert((xa), (index), (ptr), (gfp))
+
#define xa_store_irq(xa, index, ptr, gfp) \
xa_store((xa), (index), (ptr), (gfp))