diff options
| author | christos <christos@NetBSD.org> | 2007-05-06 23:25:26 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-05-06 23:25:26 +0000 |
| commit | f844889627b7a0517327cd9bd0595987bf1bddf3 (patch) | |
| tree | e19d69f090e6cf25d48b8108c1a59666f82c27f3 /sys/compat/linux/common/linux_sysctl.c | |
| parent | b38463376a9cc96cc3b0040892913259a5530443 (diff) | |
Remove change that obviously was not tested (since it uses LINUX_KERN_VERSION
again, producing EEXIST). There is no machine sysctl in linux that corresponds
to this (at least on my i386 suse box)
Diffstat (limited to 'sys/compat/linux/common/linux_sysctl.c')
| -rw-r--r-- | sys/compat/linux/common/linux_sysctl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_sysctl.c b/sys/compat/linux/common/linux_sysctl.c index a84d64d92e8..3a87d85dc46 100644 --- a/sys/compat/linux/common/linux_sysctl.c +++ b/sys/compat/linux/common/linux_sysctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_sysctl.c,v 1.27 2007/04/23 12:45:42 manu Exp $ */ +/* $NetBSD: linux_sysctl.c,v 1.28 2007/05/06 23:25:26 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.27 2007/04/23 12:45:42 manu Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.28 2007/05/06 23:25:26 christos Exp $"); #if defined (_KERNEL_OPT) #include "opt_ktrace.h" @@ -116,6 +116,7 @@ SYSCTL_SETUP(linux_sysctl_setup, "linux emulated sysctl subtree setup") NULL, 0, linux_version, sizeof(linux_version), LINUX_KERN_VERSION, CTL_EOL); +#if 0 #ifndef LINUX_UNAME_ARCH #define LINUX_UNAME_ARCH machine #endif @@ -125,6 +126,7 @@ SYSCTL_SETUP(linux_sysctl_setup, "linux emulated sysctl subtree setup") CTLTYPE_STRING, "machine", NULL, NULL, 0, linux_machine, sizeof(linux_machine), LINUX_KERN_VERSION, CTL_EOL); +#endif linux_sysctl_root.sysctl_flags &= ~CTLFLAG_READWRITE; } |
