Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2026 18:00:54 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f7e7fab7bab1 - main - linuxkpi: Add xa_insert_irq wrapper
Message-ID:  <6a6ce2d6.184a0.48fe1568@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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))
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a6ce2d6.184a0.48fe1568>