Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/compat/netbsd32 Apply patch, requested by pgoyette in...



details:   https://anonhg.NetBSD.org/src/rev/a8f437640df6
branches:  netbsd-9
changeset: 745701:a8f437640df6
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 09 05:36:24 2020 +0000

description:
Apply patch, requested by pgoyette in ticket #775 to fix fallout from
ticket #762:

        sys/compat/netbsd32/netbsd32_mod.c      (patched)

Fiy arguments to MODULE_HOOK_SET for the new amd64_oosyscall_hook.

diffstat:

 sys/compat/netbsd32/netbsd32_mod.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r fd9131051643 -r a8f437640df6 sys/compat/netbsd32/netbsd32_mod.c
--- a/sys/compat/netbsd32/netbsd32_mod.c        Sun Mar 08 14:44:06 2020 +0000
+++ b/sys/compat/netbsd32/netbsd32_mod.c        Mon Mar 09 05:36:24 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_mod.c,v 1.15.4.1 2020/03/08 10:54:43 martin Exp $     */
+/*     $NetBSD: netbsd32_mod.c,v 1.15.4.2 2020/03/09 05:36:24 martin Exp $     */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.15.4.1 2020/03/08 10:54:43 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_mod.c,v 1.15.4.2 2020/03/09 05:36:24 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_execfmt.h"
@@ -173,7 +173,7 @@
                        netbsd32_machdep_md_init();
                        netbsd32_kern_proc_32_init();
 #if defined(__amd64__)
-                       MODULE_HOOK_SET(amd64_oosyscall_hook,
+                       MODULE_HOOK_SET(amd64_oosyscall_hook, "nb32oo",
                            amd64_oosyscall_handle);
 #endif
                }
@@ -194,7 +194,7 @@
                        netbsd32_sysctl_init();
                        netbsd32_machdep_md_init();
 #if defined(__amd64__)
-                       MODULE_HOOK_SET(amd64_oosyscall_hook,
+                       MODULE_HOOK_SET(amd64_oosyscall_hook, "nb32oo",
                            amd64_oosyscall_handle);
 #endif
                }



Home | Main Index | Thread Index | Old Index