diff options
| author | kre <kre@NetBSD.org> | 2017-12-08 15:31:13 +0000 |
|---|---|---|
| committer | kre <kre@NetBSD.org> | 2017-12-08 15:31:13 +0000 |
| commit | fa6bbda9dfa023ee417b3a1f649fabc2efaaeab8 (patch) | |
| tree | 44e7b46032af57293504d1085bd11064f36780ee /sys/compat/linux32/common | |
| parent | 320000c7a7f94e1967ddd3fc44b4d68ab2f2fd18 (diff) | |
Finish the previous change - as well as setting the default for these
compat modules back to enabled, stop forcing it to switch back to
disabled any time the module is init'd (which is truly barbaric behaviour.)
Diffstat (limited to 'sys/compat/linux32/common')
| -rw-r--r-- | sys/compat/linux32/common/linux32_mod.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/compat/linux32/common/linux32_mod.c b/sys/compat/linux32/common/linux32_mod.c index 4549f2b4d36..73cf532dbc7 100644 --- a/sys/compat/linux32/common/linux32_mod.c +++ b/sys/compat/linux32/common/linux32_mod.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_mod.c,v 1.9 2017/12/01 22:14:52 joerg Exp $ */ +/* $NetBSD: linux32_mod.c,v 1.10 2017/12/08 15:31:13 kre 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.9 2017/12/01 22:14:52 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_mod.c,v 1.10 2017/12/08 15:31:13 kre Exp $"); #ifdef _KERNEL_OPT #include "opt_execfmt.h" @@ -117,7 +117,6 @@ compat_linux32_modcmd(modcmd_t cmd, void *arg) switch (cmd) { case MODULE_CMD_INIT: - linux32_enabled = 0; linux32_sysctl_init(); return 0; |
