Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/netbsd32 Use the hook to get the value ...



details:   https://anonhg.NetBSD.org/src/rev/eef207e5baf6
branches:  pgoyette-compat
changeset: 830939:eef207e5baf6
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jan 24 04:24:52 2019 +0000

description:
Use the hook to get the value of machine32

diffstat:

 sys/compat/netbsd32/netbsd32_sysctl.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e3a4dd388855 -r eef207e5baf6 sys/compat/netbsd32/netbsd32_sysctl.c
--- a/sys/compat/netbsd32/netbsd32_sysctl.c     Thu Jan 24 04:16:03 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysctl.c     Thu Jan 24 04:24:52 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_sysctl.c,v 1.38.2.2 2019/01/24 03:41:48 pgoyette Exp $        */
+/*     $NetBSD: netbsd32_sysctl.c,v 1.38.2.3 2019/01/24 04:24:52 pgoyette Exp $        */
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysctl.c,v 1.38.2.2 2019/01/24 03:41:48 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysctl.c,v 1.38.2.3 2019/01/24 04:24:52 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -171,6 +171,7 @@
                       CTLTYPE_INT, "alignbytes", NULL,
                       NULL, ALIGNBYTES32, NULL, 0,
                       CTL_HW, HW_ALIGNBYTES, CTL_EOL);
+       MODULE_HOOK_CALL(netbsd32_machine_32_hook, (), machine, m);
        sysctl_createv(&netbsd32_clog, 0, &_root, NULL,
                       CTLFLAG_PERMANENT,
                       CTLTYPE_STRING, "machine", NULL,



Home | Main Index | Thread Index | Old Index