Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux32/common The default name of the `exec_setu...
details: https://anonhg.NetBSD.org/src/rev/16cd984b5aee
branches: trunk
changeset: 1026438:16cd984b5aee
user: ryo <ryo%NetBSD.org@localhost>
date: Thu Nov 25 02:38:56 2021 +0000
description:
The default name of the `exec_setup_stack' function for linux32 should be `linux32_exec_setup_stack',
and it should be defined in each arch.
declaration of linux32_exec_setup_stack() in linux32/amd64 has been removed because it does not exist.
NFC.
diffstat:
sys/compat/linux32/arch/amd64/linux32_exec.h | 6 ++----
sys/compat/linux32/common/linux32_mod.c | 6 +++---
2 files changed, 5 insertions(+), 7 deletions(-)
diffs (46 lines):
diff -r acb0dcc1e48e -r 16cd984b5aee sys/compat/linux32/arch/amd64/linux32_exec.h
--- a/sys/compat/linux32/arch/amd64/linux32_exec.h Thu Nov 25 02:37:38 2021 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_exec.h Thu Nov 25 02:38:56 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_exec.h,v 1.7 2017/04/26 22:41:59 christos Exp $ */
+/* $NetBSD: linux32_exec.h,v 1.8 2021/11/25 02:38:56 ryo Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -82,8 +82,6 @@
#endif
-#ifdef _KERNEL
-int linux32_exec_setup_stack(struct lwp *, struct exec_package *);
-#endif
+#define linux32_exec_setup_stack linux_exec_setup_stack
#endif /* !_AMD64_LINUX32_EXEC_H */
diff -r acb0dcc1e48e -r 16cd984b5aee sys/compat/linux32/common/linux32_mod.c
--- a/sys/compat/linux32/common/linux32_mod.c Thu Nov 25 02:37:38 2021 +0000
+++ b/sys/compat/linux32/common/linux32_mod.c Thu Nov 25 02:38:56 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_mod.c,v 1.14 2020/03/21 16:28:56 pgoyette Exp $ */
+/* $NetBSD: linux32_mod.c,v 1.15 2021/11/25 02:38:56 ryo Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.14 2020/03/21 16:28:56 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.15 2021/11/25 02:38:56 ryo Exp $");
#ifdef _KERNEL_OPT
#include "opt_execfmt.h"
@@ -76,7 +76,7 @@
.es_copyargs = linux32_elf32_copyargs,
.es_setregs = NULL,
.es_coredump = coredump_elf32,
- .es_setup_stack = linux_exec_setup_stack,
+ .es_setup_stack = linux32_exec_setup_stack,
},
#endif
};
Home |
Main Index |
Thread Index |
Old Index