Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/compat/linux/common revert previous, just defi...



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

description:
revert previous, just define the hook here

diffstat:

 sys/compat/linux/common/linux_exec_elf32.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 2272de5866e5 -r ae373d3146e5 sys/compat/linux/common/linux_exec_elf32.c
--- a/sys/compat/linux/common/linux_exec_elf32.c        Thu Jan 24 04:41:34 2019 +0000
+++ b/sys/compat/linux/common/linux_exec_elf32.c        Thu Jan 24 04:52:58 2019 +0000
@@ -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 @@
 
 #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 @@
                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



Home | Main Index | Thread Index | Old Index