Module Name: src
Committed By: pgoyette
Date: Thu Jan 24 04:37:24 UTC 2019
Modified Files:
src/sys/compat/linux/common [pgoyette-compat]: linux_exec_elf32.c
Log Message:
Make sure we declare the hook variable
To generate a diff of this commit:
cvs rdiff -u -r1.94.12.3 -r1.94.12.4 \
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.3 src/sys/compat/linux/common/linux_exec_elf32.c:1.94.12.4
--- src/sys/compat/linux/common/linux_exec_elf32.c:1.94.12.3 Thu Jan 24 04:08:09 2019
+++ src/sys/compat/linux/common/linux_exec_elf32.c Thu Jan 24 04:37:24 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec_elf32.c,v 1.94.12.3 2019/01/24 04:08:09 pgoyette Exp $ */
+/* $NetBSD: linux_exec_elf32.c,v 1.94.12.4 2019/01/24 04:37:24 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.3 2019/01/24 04:08:09 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_exec_elf32.c,v 1.94.12.4 2019/01/24 04:37:24 pgoyette Exp $");
#ifndef ELFSIZE
/* XXX should die */
@@ -335,6 +335,7 @@ ELFNAME2(linux,go_rt0_signature)(struct
goto out;
#if (ELFSIZE == 32)
+ extern struct netbsd32_machine32_hook_t netbsd32_machine32_hook;
MODULE_CALL_HOOK(netbsd32_machine32_hook, (), machine, m);
#else
m = machine;