From fa6bbda9dfa023ee417b3a1f649fabc2efaaeab8 Mon Sep 17 00:00:00 2001 From: kre Date: Fri, 8 Dec 2017 15:31:13 +0000 Subject: 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.) --- sys/compat/linux/common/linux_mod.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/compat/linux') diff --git a/sys/compat/linux/common/linux_mod.c b/sys/compat/linux/common/linux_mod.c index d6c3eb20419..b61ad40a26d 100644 --- a/sys/compat/linux/common/linux_mod.c +++ b/sys/compat/linux/common/linux_mod.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_mod.c,v 1.8 2017/12/01 22:14:52 joerg Exp $ */ +/* $NetBSD: linux_mod.c,v 1.9 2017/12/08 15:31:13 kre Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_mod.c,v 1.8 2017/12/01 22:14:52 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_mod.c,v 1.9 2017/12/08 15:31:13 kre Exp $"); #ifdef _KERNEL_OPT #include "opt_execfmt.h" @@ -158,7 +158,6 @@ compat_linux_modcmd(modcmd_t cmd, void *arg) switch (cmd) { case MODULE_CMD_INIT: - linux_enabled = 0; linux_futex_init(); linux_sysctl_init(); return 0; -- cgit