Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/netbsd32 Now that compat_netbsd32 is no...



details:   https://anonhg.NetBSD.org/src/rev/c3d20b0388d5
branches:  pgoyette-compat
changeset: 830688:c3d20b0388d5
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Sep 13 02:03:49 2018 +0000

description:
Now that compat_netbsd32 is no longer monolithic, it no longer
requires compat_09 (and all higher) compat code.  Adjust the
requirements list accordingly.

diffstat:

 sys/compat/netbsd32/netbsd32_mod.c |  20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diffs (48 lines):

diff -r 830dac72eebb -r c3d20b0388d5 sys/compat/netbsd32/netbsd32_mod.c
--- a/sys/compat/netbsd32/netbsd32_mod.c        Thu Sep 13 01:15:59 2018 +0000
+++ b/sys/compat/netbsd32/netbsd32_mod.c        Thu Sep 13 02:03:49 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_mod.c,v 1.13.16.6 2018/09/11 23:26:21 pgoyette Exp $  */
+/*     $NetBSD: netbsd32_mod.c,v 1.13.16.7 2018/09/13 02:03:49 pgoyette Exp $  */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.13.16.6 2018/09/11 23:26:21 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.13.16.7 2018/09/13 02:03:49 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_execfmt.h"
@@ -48,14 +48,6 @@
 #include <compat/netbsd32/netbsd32_sysctl.h>
 #include <compat/netbsd32/netbsd32_exec.h>
 
-# define       DEPS1   "compat_09,ksem"
-
-#if defined(EXEC_ELF32)
-# define       DEPS2   ",exec_elf32"
-#else
-# define       DEPS2   ""
-#endif
-
 #define ELF32_AUXSIZE (howmany(ELF_AUX_ENTRIES * sizeof(Aux32Info), \
     sizeof(Elf32_Addr)) + MAXPATHLEN + ALIGN(1))
 
@@ -65,6 +57,14 @@
 int (*vec_compat32_80_modctl)(struct lwp *,
     const struct netbsd32_modctl_args *, register_t *);
 
+# define       DEPS1   "ksem"
+
+#if defined(EXEC_ELF32)
+# define       DEPS2   ",exec_elf32"
+#else
+# define       DEPS2   ""
+#endif
+
 MODULE(MODULE_CLASS_EXEC, compat_netbsd32, DEPS1 DEPS2);
 
 static struct execsw netbsd32_execsw[] = {



Home | Main Index | Thread Index | Old Index