git: ae8330b44868 - main - linux(4): Add arch name to the some printfs.
Dmitry Chagin
dchagin at FreeBSD.org
Tue Jul 20 07:10:33 UTC 2021
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=ae8330b44868b260267d850fbd003a11d01c9444
commit ae8330b44868b260267d850fbd003a11d01c9444
Author: Dmitry Chagin <dchagin at FreeBSD.org>
AuthorDate: 2021-07-20 07:05:08 +0000
Commit: Dmitry Chagin <dchagin at FreeBSD.org>
CommitDate: 2021-07-20 07:05: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
---
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 2a429f323682..fbc397ec139e 100644
--- a/sys/amd64/linux/linux_sysvec.c
+++ b/sys/amd64/linux/linux_sysvec.c
@@ -1040,9 +1040,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 38b777fb5629..5176029605bf 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -1184,9 +1184,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;
@@ -1203,9 +1203,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 247b6dc9fa3b..72621b4bbfbd 100644
--- a/sys/arm64/linux/linux_sysvec.c
+++ b/sys/arm64/linux/linux_sysvec.c
@@ -664,9 +664,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);
More information about the dev-commits-src-all
mailing list