aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2021-03-10 11:21:01 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2021-03-23 10:51:04 +0000
commitdd426d67647d8c819bf279040a0129af50cbdb66 (patch)
treecc7e18b3c5ecab5f70b61a5f02dc1e96beaebdb8
parent773811507d44226a755f4649b4f0ab367d3c47d4 (diff)
downloadsrc-dd426d67647d8c819bf279040a0129af50cbdb66.tar.gz
src-dd426d67647d8c819bf279040a0129af50cbdb66.zip
MFC 6eb60f5b7f7d:
Use the word "LinuxKPI" instead of "Linux compatibility", to not confuse with user-space Linux compatibility support. No functional change. Sponsored by: Mellanox Technologies // NVIDIA Networking (cherry picked from commit 6eb60f5b7f7df1a59de139260aebfa0aa5f6d79e)
-rw-r--r--sys/kern/kern_intr.c4
-rw-r--r--sys/sys/interrupt.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 0e11af2123e2..41667b57fd4f 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -783,8 +783,8 @@ intr_handler_barrier(struct intr_handler *handler)
* Sleep until an ithread finishes executing an interrupt handler.
*
* XXX Doesn't currently handle interrupt filters or fast interrupt
- * handlers. This is intended for compatibility with linux drivers
- * only. Do not use in BSD code.
+ * handlers. This is intended for LinuxKPI drivers only.
+ * Do not use in BSD code.
*/
void
_intr_drain(int irq)
diff --git a/sys/sys/interrupt.h b/sys/sys/interrupt.h
index f1770fe64b0b..56952e45fe75 100644
--- a/sys/sys/interrupt.h
+++ b/sys/sys/interrupt.h
@@ -190,7 +190,7 @@ int intr_event_resume_handler(void *cookie);
int intr_getaffinity(int irq, int mode, void *mask);
void *intr_handler_source(void *cookie);
int intr_setaffinity(int irq, int mode, void *mask);
-void _intr_drain(int irq); /* Linux compat only. */
+void _intr_drain(int irq); /* LinuxKPI only. */
int swi_add(struct intr_event **eventp, const char *name,
driver_intr_t handler, void *arg, int pri, enum intr_type flags,
void **cookiep);