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-10 11:35:16 +0000
commit6eb60f5b7f7df1a59de139260aebfa0aa5f6d79e (patch)
treedb32dff4bc4314196f80971539604e9587ad36c9
parentd1cbe79089868226625c12ef49f51214d79aa427 (diff)
downloadsrc-6eb60f5b7f7df1a59de139260aebfa0aa5f6d79e.tar.gz
src-6eb60f5b7f7df1a59de139260aebfa0aa5f6d79e.zip
Use the word "LinuxKPI" instead of "Linux compatibility", to not confuse with
user-space Linux compatibility support. No functional change. MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
-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 af7c52c6b176..afaf8466a1df 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);