git: 896a4b7c79d9 - stable/13 - linux(4): Add arch name to the some printfs.

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Fri, 17 Jun 2022 19:36:58 UTC
The branch stable/13 has been updated by dchagin:

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

commit 896a4b7c79d999d3a1dcb39c8e7ad3735defb537
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2021-07-20 07:05:08 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:33:08 +0000

    linux(4): Add arch name to the some printfs.
    
    Reviewed by:            emaste
    Differential revision:  https://reviews.freebsd.org/D30904
    MFC after:              2 weeks
    
    (cherry picked from commit ae8330b44868b260267d850fbd003a11d01c9444)
---
 sys/amd64/linux/linux_sysvec.c     | 4 ++--
 sys/amd64/linux32/linux32_sysvec.c | 8 ++++----
 sys/arm64/linux/linux_sysvec.c     | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys/amd64/linux/linux_sysvec.c b/sys/amd64/linux/linux_sysvec.c
index d3e8ce5ad035..3926ae0debdf 100644
--- a/sys/amd64/linux/linux_sysvec.c
+++ b/sys/amd64/linux/linux_sysvec.c
@@ -1034,9 +1034,9 @@ linux64_elf_modevent(module_t mod, int type, void *data)
 			SET_FOREACH(lihp, linux_ioctl_handler_set)
 				linux_ioctl_unregister_handler(*lihp);
 			if (bootverbose)
-				printf("Linux ELF exec handler removed\n");
+				printf("Linux x86_64 ELF exec handler removed\n");
 		} else
-			printf("Could not deinstall ELF interpreter entry\n");
+			printf("Could not deinstall Linux x86_64 ELF interpreter entry\n");
 		break;
 	default:
 		return (EOPNOTSUPP);
diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index d94ee6c87fd6..9e77c5e8ac7d 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -1175,9 +1175,9 @@ linux_elf_modevent(module_t mod, int type, void *data)
 				linux32_ioctl_register_handler(*lihp);
 			stclohz = (stathz ? stathz : hz);
 			if (bootverbose)
-				printf("Linux ELF exec handler installed\n");
+				printf("Linux i386 ELF exec handler installed\n");
 		} else
-			printf("cannot insert Linux ELF brand handler\n");
+			printf("cannot insert Linux i386 ELF brand handler\n");
 		break;
 	case MOD_UNLOAD:
 		for (brandinfo = &linux_brandlist[0]; *brandinfo != NULL;
@@ -1194,9 +1194,9 @@ linux_elf_modevent(module_t mod, int type, void *data)
 			SET_FOREACH(lihp, linux_ioctl_handler_set)
 				linux32_ioctl_unregister_handler(*lihp);
 			if (bootverbose)
-				printf("Linux ELF exec handler removed\n");
+				printf("Linux i386 ELF exec handler removed\n");
 		} else
-			printf("Could not deinstall ELF interpreter entry\n");
+			printf("Could not deinstall Linux i386 ELF interpreter entry\n");
 		break;
 	default:
 		return (EOPNOTSUPP);
diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c
index 0e9800291e26..20a993046b0c 100644
--- a/sys/arm64/linux/linux_sysvec.c
+++ b/sys/arm64/linux/linux_sysvec.c
@@ -659,9 +659,9 @@ linux64_elf_modevent(module_t mod, int type, void *data)
 			SET_FOREACH(lihp, linux_ioctl_handler_set)
 				linux_ioctl_unregister_handler(*lihp);
 			if (bootverbose)
-				printf("Linux ELF exec handler removed\n");
+				printf("Linux arm64 ELF exec handler removed\n");
 		} else
-			printf("Could not deinstall ELF interpreter entry\n");
+			printf("Could not deinstall Linux arm64 ELF interpreter entry\n");
 		break;
 	default:
 		return (EOPNOTSUPP);