diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-07-31 18:00:38 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-07-31 18:00:38 +0000 |
| commit | f7e7fab7bab17bb20ef2b25b01cb46d84fb9e31b (patch) | |
| tree | bc3b76966fba4999eecced64f7234d09fed04884 | |
| parent | c7400fe1df4e971670a7628ddcc856f7a6775dc6 (diff) | |
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
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/xarray.h | 3 |
1 files changed, 3 insertions, 0 deletions
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)) |
