Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat Finish the previous change - as well as setting t...
details: https://anonhg.NetBSD.org/src/rev/030b32f9b32e
branches: trunk
changeset: 358028:030b32f9b32e
user: kre <kre%NetBSD.org@localhost>
date: Fri Dec 08 15:31:13 2017 +0000
description:
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:
sys/compat/linux/common/linux_mod.c | 5 ++---
sys/compat/linux32/common/linux32_mod.c | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diffs (52 lines):
diff -r 922e693a38c5 -r 030b32f9b32e sys/compat/linux/common/linux_mod.c
--- a/sys/compat/linux/common/linux_mod.c Fri Dec 08 14:46:18 2017 +0000
+++ b/sys/compat/linux/common/linux_mod.c Fri Dec 08 15:31:13 2017 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
switch (cmd) {
case MODULE_CMD_INIT:
- linux_enabled = 0;
linux_futex_init();
linux_sysctl_init();
return 0;
diff -r 922e693a38c5 -r 030b32f9b32e sys/compat/linux32/common/linux32_mod.c
--- a/sys/compat/linux32/common/linux32_mod.c Fri Dec 08 14:46:18 2017 +0000
+++ b/sys/compat/linux32/common/linux32_mod.c Fri Dec 08 15:31:13 2017 +0000
@@ -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 @@
switch (cmd) {
case MODULE_CMD_INIT:
- linux32_enabled = 0;
linux32_sysctl_init();
return 0;
Home |
Main Index |
Thread Index |
Old Index