Module Name:    src
Committed By:   pgoyette
Date:           Thu Jan 24 04:52:58 UTC 2019

Modified Files:
        src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c

Log Message:
revert previous, just define the hook here


To generate a diff of this commit:
cvs rdiff -u -r1.94.12.5 -r1.94.12.6 \
    src/sys/compat/linux/common/linux_exec_elf32.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/compat/linux/common/linux_exec_elf32.c
diff -u src/sys/compat/linux/common/linux_exec_elf32.c:1.94.12.5 src/sys/compat/linux/common/linux_exec_elf32.c:1.94.12.6
--- src/sys/compat/linux/common/linux_exec_elf32.c:1.94.12.5	Thu Jan 24 04:41:34 2019
+++ src/sys/compat/linux/common/linux_exec_elf32.c	Thu Jan 24 04:52:58 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: linux_exec_elf32.c,v 1.94.12.5 2019/01/24 04:41:34 pgoyette Exp $	*/
+/*	$NetBSD: linux_exec_elf32.c,v 1.94.12.6 2019/01/24 04:52:58 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 1995, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.94.12.5 2019/01/24 04:41:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.94.12.6 2019/01/24 04:52:58 pgoyette Exp $");
 
 #ifndef ELFSIZE
 /* XXX should die */
@@ -73,7 +73,6 @@ __KERNEL_RCSID(0, "$NetBSD: linux_exec_e
 
 #include <compat/linux/linux_syscallargs.h>
 #include <compat/linux/linux_syscall.h>
-#include <compat/netbsd32/netbsd32.h>
 
 #define LINUX_GO_RT0_SIGNATURE
 
@@ -336,6 +335,7 @@ ELFNAME2(linux,go_rt0_signature)(struct 
 		goto out;
 
 #if (ELFSIZE == 32)
+	MODULE_HOOK(netbsd32_machine32_hook, const char *, (void));
 	extern struct netbsd32_machine32_hook_t netbsd32_machine32_hook;
 	MODULE_CALL_HOOK(netbsd32_machine32_hook, (), machine, m);
 #else

Reply via email to