Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/common Add compat_12 to the alias list, ...



details:   https://anonhg.NetBSD.org/src/rev/122833948a98
branches:  pgoyette-compat
changeset: 321139:122833948a98
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sat Mar 31 10:01:58 2018 +0000

description:
Add compat_12 to the alias list, and add compat_80 entry points to the
init-fini list.

diffstat:

 sys/compat/common/compat_mod.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r cab03b5b264d -r 122833948a98 sys/compat/common/compat_mod.c
--- a/sys/compat/common/compat_mod.c    Sat Mar 31 09:17:35 2018 +0000
+++ b/sys/compat/common/compat_mod.c    Sat Mar 31 10:01:58 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_mod.c,v 1.24.14.30 2018/03/31 09:17:35 pgoyette Exp $   */
+/*     $NetBSD: compat_mod.c,v 1.24.14.31 2018/03/31 10:01:58 pgoyette Exp $   */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.24.14.30 2018/03/31 09:17:35 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.24.14.31 2018/03/31 10:01:58 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -79,7 +79,7 @@
 static const char * const compat_includes[] = {
        "compat_80", "compat_70", "compat_60", "compat_50", "compat_40",
        "compat_30", "compat_20", "compat_16", "compat_14", "compat_13",
-       NULL
+       "compat_12", NULL
 };
 
 MODULE_WITH_ALIASES(MODULE_CLASS_EXEC, compat, NULL, &compat_includes);
@@ -137,6 +137,9 @@
        int (*init)(void);
        int (*fini)(void);
 } init_fini_list[] = {
+#ifdef COMPAT_80
+       { compat_80_init, compat_80_fini },
+#endif
 #ifdef COMPAT_70
        { compat_70_init, compat_70_fini },
 #endif



Home | Main Index | Thread Index | Old Index