git: b880902e53d7 - stable/12 - MFC 6eb60f5b7f7d: Use the word "LinuxKPI" instead of "Linux compatibility", to not confuse with user-space Linux compatibility support. No functional change.
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Mar 23 11:47:32 UTC 2021
The branch stable/12 has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=b880902e53d78b290c11ae0a2d4e7ecea7a508b6
commit b880902e53d78b290c11ae0a2d4e7ecea7a508b6
Author: Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-03-10 11:21:01 +0000
Commit: Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-03-23 11:45:00 +0000
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)
---
sys/kern/kern_intr.c | 4 ++--
sys/sys/interrupt.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
index 95182f97fc18..ebad3f67ed3d 100644
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -758,8 +758,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 2b66b7ae4597..4d257ba4f89e 100644
--- a/sys/sys/interrupt.h
+++ b/sys/sys/interrupt.h
@@ -192,7 +192,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);
More information about the dev-commits-src-all
mailing list