Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/netbsd32 COMPAT_NETBSD32: Reorganize the previous...



details:   https://anonhg.NetBSD.org/src/rev/791f7d9f8337
branches:  trunk
changeset: 378317:791f7d9f8337
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Jul 29 13:40:51 2023 +0000

description:
COMPAT_NETBSD32: Reorganize the previous; Make compat_netbsd32_50 recursively
depended on compat_netbsd32_100, rather than directly depended on it.

Thanks pgoyette@ again for useful comments!

diffstat:

 sys/compat/netbsd32/netbsd32_compat_50.c |  7 +++----
 sys/compat/netbsd32/netbsd32_compat_80.c |  6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)

diffs (55 lines):

diff -r 7a5a8f9c35fb -r 791f7d9f8337 sys/compat/netbsd32/netbsd32_compat_50.c
--- a/sys/compat/netbsd32/netbsd32_compat_50.c  Sat Jul 29 13:13:50 2023 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_50.c  Sat Jul 29 13:40:51 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_compat_50.c,v 1.55 2023/07/29 13:13:50 rin Exp $      */
+/*     $NetBSD: netbsd32_compat_50.c,v 1.56 2023/07/29 13:40:51 rin Exp $      */
 
 /*-
  * Copyright (c) 2008, 2020 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.55 2023/07/29 13:13:50 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_50.c,v 1.56 2023/07/29 13:40:51 rin Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_compat_netbsd.h"
@@ -974,8 +974,7 @@ static struct syscall_package compat_net
        { 0, 0, NULL }
 }; 
 
-MODULE(MODULE_CLASS_EXEC, compat_netbsd32_50,
-    "compat_netbsd32_100,compat_netbsd32_60,compat_50");
+MODULE(MODULE_CLASS_EXEC, compat_netbsd32_50, "compat_netbsd32_60,compat_50");
 
 static int
 compat_netbsd32_50_modcmd(modcmd_t cmd, void *arg)
diff -r 7a5a8f9c35fb -r 791f7d9f8337 sys/compat/netbsd32/netbsd32_compat_80.c
--- a/sys/compat/netbsd32/netbsd32_compat_80.c  Sat Jul 29 13:13:50 2023 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_80.c  Sat Jul 29 13:40:51 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_compat_80.c,v 1.6 2019/12/12 02:15:42 pgoyette Exp $  */
+/*     $NetBSD: netbsd32_compat_80.c,v 1.7 2023/07/29 13:40:51 rin Exp $       */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_80.c,v 1.6 2019/12/12 02:15:42 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_80.c,v 1.7 2023/07/29 13:40:51 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/dirent.h>
@@ -175,7 +175,7 @@ netbsd32_80_modctl(struct lwp *lwp, cons
        return error;
 }
 
-MODULE(MODULE_CLASS_EXEC, compat_netbsd32_80, "compat_netbsd32,compat_80");
+MODULE(MODULE_CLASS_EXEC, compat_netbsd32_80, "compat_netbsd32_100,compat_80");
 
 static int
 compat_netbsd32_80_modcmd(modcmd_t cmd, void *arg)



Home | Main Index | Thread Index | Old Index