git: dd426d67647d - stable/13 - 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 10:57:09 UTC 2021


The branch stable/13 has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=dd426d67647d8c819bf279040a0129af50cbdb66

commit dd426d67647d8c819bf279040a0129af50cbdb66
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 10:51:04 +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 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);


More information about the dev-commits-src-branches mailing list