git: 56c5230afdcf - main - linux(4): Fix LINUX_AT_COUNT comments

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Sat, 22 Apr 2023 19:18:40 UTC
The branch main has been updated by dchagin:

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

commit 56c5230afdcf2b317d904009abe577e91b382542
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-04-22 19:16:43 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-04-22 19:16:43 +0000

    linux(4): Fix LINUX_AT_COUNT comments
    
    Differential Revision:  https://reviews.freebsd.org/D39645
    MFC after:              1 month
---
 sys/amd64/linux/linux.h   | 5 ++++-
 sys/amd64/linux32/linux.h | 2 +-
 sys/arm64/linux/linux.h   | 5 ++++-
 sys/i386/linux/linux.h    | 2 +-
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h
index c57134da6464..11cc9f05c6f5 100644
--- a/sys/amd64/linux/linux.h
+++ b/sys/amd64/linux/linux.h
@@ -90,7 +90,10 @@ typedef struct {
 /*
  * Miscellaneous
  */
-#define LINUX_AT_COUNT		21	/* Count of used aux entry types. */
+#define LINUX_AT_COUNT		21	/* Count of used aux entry types.
+					 * Keep this synchronized with
+					 * linux_copyout_auxargs() code.
+					 */
 
 struct l___sysctl_args
 {
diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h
index 8693585da6d3..8acc5bc0f195 100644
--- a/sys/amd64/linux32/linux.h
+++ b/sys/amd64/linux32/linux.h
@@ -105,7 +105,7 @@ typedef struct {
  */
 #define	LINUX_AT_COUNT		22	/* Count of used aux entry types.
 					 * Keep this synchronized with
-					 * linux_fixup_elf() code.
+					 * linux_copyout_auxargs() code.
 					 */
 struct l___sysctl_args
 {
diff --git a/sys/arm64/linux/linux.h b/sys/arm64/linux/linux.h
index 5c95acd86771..1b6852286662 100644
--- a/sys/arm64/linux/linux.h
+++ b/sys/arm64/linux/linux.h
@@ -81,7 +81,10 @@ typedef struct {
 #define	l_fd_set	fd_set
 
 /* Miscellaneous */
-#define	LINUX_AT_COUNT		21
+#define	LINUX_AT_COUNT		21	/* Count of used aux entry types.
+					 * Keep this synchronized with
+					 * linux_copyout_auxargs() code.
+					 */
 
 struct l___sysctl_args
 {
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 063c81510c02..114d59d4eae0 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -97,7 +97,7 @@ typedef struct {
  */
 #define LINUX_AT_COUNT		21	/* Count of used aux entry types.
 					 * Keep this synchronized with
-					 * linux_fixup_elf() code.
+					 * linux_copyout_auxargs() code.
 					 */
 struct l___sysctl_args
 {